Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::semiregular_box< T > Struct Template Reference
+ Inheritance diagram for ranges::semiregular_box< T >:

Public Member Functions

constexpr T && get () &&noexcept
 
constexpr T & get () &noexcept
 
const T && get () const &&=delete
 
constexpr const T & get () const &noexcept
 
constexpr operator T const & () const &noexcept
 
 operator T const && () const &&=delete
 
constexpr operator T& () &noexcept
 
constexpr operator T&& () &&noexcept
 
template<typename... Args>
requires constexpr decltype(auto) invocable< T, Args... > operator() (Args &&... args) &&noexcept(is_nothrow_invocable_v< T, Args... >)
 
template<typename... Args>
requires constexpr decltype(auto) invocable< T &, Args... > operator() (Args &&... args) &noexcept(is_nothrow_invocable_v< T &, Args... >)
 
template<typename... Args>
requires constexpr decltype(auto) invocable< T const &, Args... > operator() (Args &&... args) const &noexcept(is_nothrow_invocable_v< T const &, Args... >)
 
template<typename... Args>
void operator() (Args &&...) const &&=delete
 
semiregular_boxoperator= (semiregular_box &&that) noexcept(std::is_nothrow_move_constructible< T >::value &&(!std::is_move_assignable< T >::value||std::is_nothrow_move_assignable< T >::value))
 
semiregular_boxoperator= (semiregular_box const &that) noexcept(std::is_nothrow_copy_constructible< T >::value &&(!std::is_copy_assignable< T >::value||std::is_nothrow_copy_assignable< T >::value))
 
template<typename... Args>
requires constexpr constructible_from< T, Args... > semiregular_box (in_place_t, Args &&... args) noexcept(std::is_nothrow_constructible< T, Args... >::value)
 
 semiregular_box (semiregular_box &&that) noexcept(std::is_nothrow_move_constructible< T >::value)
 
 semiregular_box (semiregular_box const &that) noexcept(std::is_nothrow_copy_constructible< T >::value)
 
template<typename U >
constexpr semiregular_box (U &&u) noexcept(std::is_nothrow_constructible< T, U >::value) requires(!defer
 
template<typename U >
constexpr semiregular_box (U &&u) noexcept(std::is_nothrow_constructible< T, U >::value) requires(!defer