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

Public Types

using allocator_traits = std::allocator_traits< Alloc >
 

Public Member Functions

constexpr T * addr ()
 
constexpr T & get ()
 
template<class... Args>
PLUGIFY_NO_CFI constexpr temp_value (Alloc &alloc, Args &&... args)
 

Public Attributes

union { 
 
   T   v 
 
};  
 
PLUGIFY_NO_UNIQUE_ADDRESS Alloca
 

Detailed Description

template<class T, class Alloc>
struct plg::detail::temp_value< T, Alloc >

Definition at line 34 of file vector.hpp.

Member Typedef Documentation

◆ allocator_traits

template<class T , class Alloc >
using plg::detail::temp_value< T, Alloc >::allocator_traits = std::allocator_traits<Alloc>

Definition at line 35 of file vector.hpp.

Constructor & Destructor Documentation

◆ temp_value()

template<class T , class Alloc >
template<class... Args>
PLUGIFY_NO_CFI constexpr plg::detail::temp_value< T, Alloc >::temp_value ( Alloc alloc,
Args &&...  args 
)
inlineexplicitconstexpr

Definition at line 52 of file vector.hpp.

◆ ~temp_value()

template<class T , class Alloc >
constexpr plg::detail::temp_value< T, Alloc >::~temp_value ( )
inlineconstexpr

Definition at line 57 of file vector.hpp.

Member Function Documentation

◆ addr()

template<class T , class Alloc >
constexpr T * plg::detail::temp_value< T, Alloc >::addr ( )
inlineconstexpr

Definition at line 42 of file vector.hpp.

◆ get()

template<class T , class Alloc >
constexpr T & plg::detail::temp_value< T, Alloc >::get ( )
inlineconstexpr

Definition at line 46 of file vector.hpp.

Member Data Documentation

◆ a

template<class T , class Alloc >
PLUGIFY_NO_UNIQUE_ADDRESS Alloc& plg::detail::temp_value< T, Alloc >::a

Definition at line 40 of file vector.hpp.

◆ v

template<class T , class Alloc >
T plg::detail::temp_value< T, Alloc >::v

Definition at line 38 of file vector.hpp.


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