tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
tuple.cpp
// SPDX-License-Identifier: BSL-1.0
#undef NDEBUG
#include <etl/cassert.hpp>
#include <etl/tuple.hpp>
auto main() -> int
{
auto c = etl::tuple<int, int, double>{3, 5, 1.1};
assert(etl::get<0>(c) == 3);
assert(etl::get<1>(c) == 5);
return 0;
}
#define assert(...)
Definition cassert.hpp:19
constexpr auto get(complex< X > &z) noexcept -> X &
Definition complex.hpp:92
Definition tuple.hpp:107