The Gaudi Framework
master (594c33fa)
|
#include </builds/gaudi/Gaudi/GaudiFunctional/include/Gaudi/Functional/details.h>
Classes | |
class | iterator |
Public Types | |
using | value_type = std::conditional_t< is_pointer, ptr_t, val_t > |
using | size_type = typename ContainerVector::size_type |
Public Member Functions | |
vector_of_const_ ()=default | |
void | reserve (size_type size) |
template<typename T > | |
void | push_back (T &&container) |
iterator | begin () const |
iterator | end () const |
size_type | size () const |
template<typename X = Container> | |
std::enable_if_t<!std::is_pointer_v< X >, ref_t > | front () const |
template<typename X = Container> | |
std::enable_if_t< std::is_pointer_v< X >, ptr_t > | front () const |
template<typename X = Container> | |
std::enable_if_t<!std::is_pointer_v< X >, ref_t > | back () const |
template<typename X = Container> | |
std::enable_if_t< std::is_pointer_v< X >, ptr_t > | back () const |
template<typename X = Container> | |
std::enable_if_t<!std::is_pointer_v< X >, ref_t > | operator[] (size_type i) const |
template<typename X = Container> | |
std::enable_if_t< std::is_pointer_v< X >, ptr_t > | operator[] (size_type i) const |
template<typename X = Container> | |
std::enable_if_t<!std::is_pointer_v< X >, ref_t > | at (size_type i) const |
template<typename X = Container> | |
std::enable_if_t< std::is_pointer_v< X >, ptr_t > | at (size_type i) const |
bool | is_null (size_type i) const |
Private Types | |
using | val_t = std::add_const_t< std::remove_pointer_t< Container > > |
using | ptr_t = std::add_pointer_t< val_t > |
using | ref_t = std::add_lvalue_reference_t< val_t > |
using | ContainerVector = std::vector< std::conditional_t< is_range, std::remove_const_t< val_t >, ptr_t > > |
Private Attributes | |
ContainerVector | m_containers |
Static Private Attributes | |
static constexpr bool | is_pointer = std::is_pointer_v<Container> |
static constexpr bool | is_range = details2::is_gaudi_range_v<Container> |
|
private |
|
private |
|
private |
using Gaudi::Functional::details::vector_of_const_< Container >::size_type = typename ContainerVector::size_type |
|
private |
using Gaudi::Functional::details::vector_of_const_< Container >::value_type = std::conditional_t<is_pointer, ptr_t, val_t> |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
staticconstexprprivate |
|
staticconstexprprivate |
|
private |