plugify 1.2.8
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
plg::detail::ipvbase_trivial< T, N > Struct Template Reference

Public Member Functions

constexpr T * base_data ()
 
constexpr const T * base_data () const
 
constexpr void set_size (size_t n)
 

Public Attributes

size_t size_ = 0
 
union { 
 
   char   dummy_ 
 
   T   data_ [N
 
};  
 

Detailed Description

template<class T, size_t N>
struct plg::detail::ipvbase_trivial< T, N >

Definition at line 179 of file inplace_vector.hpp.

Constructor & Destructor Documentation

◆ ipvbase_trivial()

template<class T , size_t N>
constexpr plg::detail::ipvbase_trivial< T, N >::ipvbase_trivial ( )
inlineexplicitconstexpr

Definition at line 185 of file inplace_vector.hpp.

Member Function Documentation

◆ base_data() [1/2]

template<class T , size_t N>
constexpr T * plg::detail::ipvbase_trivial< T, N >::base_data ( )
inlineconstexpr

Definition at line 186 of file inplace_vector.hpp.

◆ base_data() [2/2]

template<class T , size_t N>
constexpr const T * plg::detail::ipvbase_trivial< T, N >::base_data ( ) const
inlineconstexpr

Definition at line 187 of file inplace_vector.hpp.

◆ set_size()

template<class T , size_t N>
constexpr void plg::detail::ipvbase_trivial< T, N >::set_size ( size_t  n)
inlineconstexpr

Definition at line 188 of file inplace_vector.hpp.

Member Data Documentation

◆ data_

template<class T , size_t N>
T plg::detail::ipvbase_trivial< T, N >::data_[N]

Definition at line 183 of file inplace_vector.hpp.

◆ dummy_

template<class T , size_t N>
char plg::detail::ipvbase_trivial< T, N >::dummy_

Definition at line 182 of file inplace_vector.hpp.

◆ size_

template<class T , size_t N>
size_t plg::detail::ipvbase_trivial< T, N >::size_ = 0

Definition at line 180 of file inplace_vector.hpp.


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