TiledArray::detail::VectorBase< T > Class Template Reference
Collaboration diagram for TiledArray::detail::VectorBase< T >:

Documentation

template<typename T>
class TiledArray::detail::VectorBase< T >

A vector of objects.

Template Parameters
Ta value type

Public Member Functions

 VectorBase ()=default
 
 VectorBase (std::size_t i)
 
template<typename... Args, typename = std::enable_if_t< (std::is_same_v<std::remove_reference_t<Args>, T> && ...)>>
 VectorBase (Args &&..._t)
 
 VectorBase (const std::vector< T > &t_pack)
 
 VectorBase (std::vector< T > &&t_pack)
 
template<typename B , typename E >
 VectorBase (B &&begin, E &&end)
 
 operator T& () &
 
 operator const T & () const &
 
 operator T&& () &&
 
 operator bool () const
 

Constructor & Destructor Documentation

◆ VectorBase() [1/6]

template<typename T >
TiledArray::detail::VectorBase< T >::VectorBase ( )
default

◆ VectorBase() [2/6]

template<typename T >
TiledArray::detail::VectorBase< T >::VectorBase ( std::size_t  i)
inline

◆ VectorBase() [3/6]

template<typename T >
template<typename... Args, typename = std::enable_if_t< (std::is_same_v<std::remove_reference_t<Args>, T> && ...)>>
TiledArray::detail::VectorBase< T >::VectorBase ( Args &&...  _t)
inline

◆ VectorBase() [4/6]

template<typename T >
TiledArray::detail::VectorBase< T >::VectorBase ( const std::vector< T > &  t_pack)
inline

◆ VectorBase() [5/6]

template<typename T >
TiledArray::detail::VectorBase< T >::VectorBase ( std::vector< T > &&  t_pack)
inline

◆ VectorBase() [6/6]

template<typename T >
template<typename B , typename E >
TiledArray::detail::VectorBase< T >::VectorBase ( B &&  begin,
E &&  end 
)
inline

Member Function Documentation

◆ operator bool()

template<typename T >
TiledArray::detail::VectorBase< T >::operator bool ( ) const
inlineexplicit
Returns
true if nonempty

◆ operator const T &()

template<typename T >
TiledArray::detail::VectorBase< T >::operator const T & ( ) const &
inline

◆ operator T&()

template<typename T >
TiledArray::detail::VectorBase< T >::operator T& ( ) &
inline

◆ operator T&&()

template<typename T >
TiledArray::detail::VectorBase< T >::operator T&& ( ) &&
inline

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