OGLplus  (0.59.0) a C++ wrapper for rendering APIs

eagine::basic_valid_if_value< T > Class Template Reference

Base class for basic_valid_if, storing the conditionally valid value. More...

#include <eagine/valid_if/base.hpp>

Public Member Functions

constexpr basic_valid_if_value (T value) noexcept(noexcept(T(std::declval< T && >())))
 Initializing constructor.
 
constexpr basic_valid_if_value () noexcept(std::is_nothrow_default_constructible_v< T >)=default
 Default constructor.
 
constexpr basic_valid_if_value (basic_valid_if_value &&) noexcept(std::is_nothrow_move_constructible_v< T >)=default
 Move constructor.
 
constexpr basic_valid_if_value (const basic_valid_if_value &) noexcept(std::is_nothrow_copy_constructible_v< T >)=default
 Copy constructor.
 
auto operator= (basic_valid_if_value &&) noexcept(std::is_nothrow_move_assignable_v< T >) -> basic_valid_if_value &=default
 Move assignment operator.
 
auto operator= (const basic_valid_if_value &) noexcept(std::is_nothrow_copy_assignable_v< T >) -> basic_valid_if_value &=default
 Copy assignment operator.
 
 ~basic_valid_if_value () noexcept=default
 The destructor.
 
auto operator= (const T &v) -> auto &
 Copies v to the stored value.
 
auto operator= (T &&v) -> auto &
 Moves v to the stored value.
 

Detailed Description

template<typename T>
class eagine::basic_valid_if_value< T >

Base class for basic_valid_if, storing the conditionally valid value.

Note
Do not use directly, use one of the specializations of basic_valid_if.
See also
basic_valid_if

The documentation for this class was generated from the following file:

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).