#if defined(TETL_ENABLE_CXX_MODULES)
import etl;
#else
#endif
#include <stdio.h>
auto main() -> int
{
set1.insert(3);
set1.insert(1);
set1.insert(2);
set1.insert(4);
set1.insert(4);
etl::for_each(set1.begin(), set1.end(), [](
auto key) { ::printf(
"%d\n", key); });
assert(set2.count(1.0F) == 1);
return 0;
}
#define assert(...)
Definition cassert.hpp:20
constexpr auto for_each(InputIt first, InputIt last, UnaryFunc f) noexcept -> UnaryFunc
Applies the given function object f to the result of dereferencing every iterator in the range [first...
Definition for_each.hpp:21
A container that encapsulates fixed size arrays.
Definition array.hpp:49
The class template bitset represents a fixed-size sequence of Bits bits. Bitsets can be manipulated b...
Definition bitset.hpp:23