xte::wrap_value<x>::operator()()

Defined in header <xte/meta/wrap_value.hpp>

Returns x.


Definition

[[nodiscard]] friend constexpr decltype(auto) operator()() noexcept;



Example

constexpr auto x = xte::wrap_value<0>();

static_assert(x() == 0);
[View in Compiler Explorer]