Lens AI Profiler Cpp
Public Member Functions | List of all members
datasketches::optional< T > Class Template Reference

Public Member Functions

 optional (const T &value) noexcept(std::is_nothrow_copy_constructible< T >::value)
 
 optional (T &&value) noexcept(std::is_nothrow_move_constructible< T >::value)
 
template<typename TT >
 optional (const optional< TT > &other) noexcept(std::is_nothrow_constructible< T, TT >::value)
 
 optional (const optional &other) noexcept(std::is_nothrow_copy_constructible< T >::value)
 
 optional (optional &&other) noexcept(std::is_nothrow_move_constructible< T >::value)
 
 operator bool () const noexcept
 
optionaloperator= (const optional &other) noexcept(std::is_nothrow_copy_constructible< T >::value &&std::is_nothrow_copy_assignable< T >::value)
 
optionaloperator= (optional &&other) noexcept(std::is_nothrow_move_constructible< T >::value &&std::is_nothrow_move_assignable< T >::value)
 
template<typename... Args>
void emplace (Args &&... args) noexcept(std::is_nothrow_constructible< T, Args... >::value)
 
T & operator* () &noexcept
 
const T & operator* () const &noexcept
 
T && operator* () &&noexcept
 
const T && operator* () const &&noexcept
 
T * operator-> () noexcept
 
const T * operator-> () const noexcept
 
void reset () noexcept(std::is_nothrow_destructible< T >::value)
 

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