#undef NDEBUG
auto main() -> int
{
auto v1 = 42;
auto v2 = 100;
auto val = 1;
auto c = 1;
auto p3 = p1;
swap(p2, p3);
return 0;
}
#define assert(...)
Definition cassert.hpp:19
typename remove_reference< T >::type remove_reference_t
Definition remove_reference.hpp:28
constexpr auto cmp_equal(T t, U u) noexcept -> bool
Compare the values of two integers t and u. Unlike builtin comparison operators, negative signed inte...
Definition cmp_equal.hpp:21
constexpr auto cmp_not_equal(T t, U u) noexcept -> bool
Compare the values of two integers t and u. Unlike builtin comparison operators, negative signed inte...
Definition cmp_not_equal.hpp:20
constexpr auto as_const(T &t) noexcept -> add_const_t< T > &
Forms lvalue reference to const type of t.
Definition as_const.hpp:12
constexpr bool is_const_v
Definition is_const.hpp:20
constexpr auto exchange(T &obj, U &&newValue) noexcept(etl::is_nothrow_move_constructible_v< T > and etl::is_nothrow_assignable_v< T &, U >) -> T
Replaces the value of obj with new_value and returns the old value of obj.
Definition exchange.hpp:16
constexpr auto make_pair(T1 &&t, T2 &&u) -> pair< decay_t< T1 >, decay_t< T2 > >
Creates a etl::pair object, deducing the target type from the types of arguments.
Definition pair.hpp:164
auto swap(inplace_function< R(Args...), Capacity, Alignment > &lhs, inplace_function< R(Args...), Capacity, Alignment > &rhs) noexcept -> void
Overloads the etl::swap algorithm for etl::inplace_function. Exchanges the state of lhs with that of ...
Definition inplace_function.hpp:249
etl::pair is a class template that provides a way to store two heterogeneous objects as a single unit...
Definition pair.hpp:36