iffl
1.3.4
Implements Intrusive Flat Forward List container
|
Specialization for the case when Empty Base Class Optimization EBCO would not work. More...
#include <iffl_common.h>
Public Member Functions | |
template<class... P> | |
constexpr | compressed_pair (zero_then_variadic_args_t, P &&... p) |
Constructor. More... | |
template<class P1 , class... P2> | |
constexpr | compressed_pair (one_then_variadic_args_t, P1 &&p1, P2 &&... p2) |
Constructor. More... | |
constexpr T1 & | get_first () noexcept |
constexpr T1 const & | get_first () const noexcept |
constexpr T2 & | get_second () noexcept |
constexpr T2 const & | get_second () const noexcept |
Specialization for the case when Empty Base Class Optimization EBCO would not work.
T1 | - First type. In this partial specialization it is a member. |
T2 | - Second type is always a member |
Store a pair of values, deriving from empty first. This is a template specialization for the case when inheriting from T1 would not help or work.
|
inlineexplicit |
Constructor.
P | - variadic parameter pack forwarded to the constructor of T2 |
p | - parameters for the T2 constructor |
Value initialize first parameter, and passes all other parameters to the constructor of second
|
inline |
Constructor.
P1 | - parameter used to initialize T1 |
P2 | - variadic parameter pack forwarded to the constructor of T2 |
p1 | - parameter for the T1 constructor |
p2 | - parameters for the T2 constructor |
Constructs first parameter from p1, and passes all other parameters to the constructor of second.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |