![]() |
The Gaudi Framework
v41r0 (bdbe7744)
|
#include </builds/gaudi/Gaudi/GaudiFunctional/include/Gaudi/Functional/details.h>

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> requires ( is_pointer || is_range ) | |
| void | push_back (T &&container) |
| template<typename C = Container> requires ( !std::is_pointer_v<C> && !details2::is_gaudi_range_v<C> ) | |
| void | push_back (borrowed_value_t< C > &container) |
| template<typename C = Container> requires ( !std::is_pointer_v<C> && !details2::is_gaudi_range_v<C> ) | |
| void | push_back (borrowed_value_t< C > &&)=delete |
| auto | begin () const |
| auto | end () const |
| decltype(auto) | front () const |
| decltype(auto) | back () const |
| decltype(auto) | operator[] (size_type i) const |
| decltype(auto) | at (size_type i) const |
| size_type | size () const |
Private Types | |
| template<typename C> | |
| using | borrowed_value_t = std::add_const_t<std::remove_pointer_t<C>> |
| using | val_t = borrowed_value_t<Container> |
| using | ptr_t = std::add_pointer_t<val_t> |
| using | ContainerVector = std::vector<std::conditional_t<is_range, std::remove_const_t<val_t>, ptr_t>> |
Static Private Member Functions | |
| static constexpr decltype(auto) | wrap (ContainerVector::const_reference t) |
| static constexpr auto | wrap (ContainerVector::const_iterator i) |
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 |
Definition at line 356 of file details.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticconstexprprivate |
|
inlinestaticconstexprprivate |
|
staticconstexprprivate |
|
staticconstexprprivate |
|
private |