Public Member Functions | Private Types | List of all members
util::details::ContainerStorage < Cont, std::enable_if_t< util::is_reference_wrapper_v< Cont > > > Class Template Reference

#include <MappedContainer.h>

Inheritance diagram for util::details::ContainerStorage < Cont, std::enable_if_t< util::is_reference_wrapper_v< Cont > > >:
util::details::ContainerStorageBase< Cont >

Public Member Functions

 ContainerStorage ()
 
- Public Member Functions inherited from util::details::ContainerStorageBase< Cont >
 ContainerStorageBase ()=default
 
 ContainerStorageBase (Container_t const &cont)
 
 ContainerStorageBase (Container_t &&cont)
 
decltype(auto) container () const
 
decltype(auto) container ()
 
auto size () const
 
decltype(auto) operator[] (index_type index)
 
decltype(auto) operator[] (index_type index) const
 

Private Types

using Base_t = ContainerStorageBase< Cont >
 
using DataContainer_t = typename Cont::type
 

Additional Inherited Members

- Public Types inherited from util::details::ContainerStorageBase< Cont >
using Container_t = Cont
 
using Traits_t = details::ContainerTraits< Container_t >
 
using index_type = typename Traits_t::size_type
 
using value_type = typename Traits_t::value_type
 
using size_type = typename Traits_t::size_type
 
using difference_type = typename Traits_t::difference_type
 
using reference = typename Traits_t::reference
 
using const_reference = typename Traits_t::const_reference
 
- Public Attributes inherited from util::details::ContainerStorageBase< Cont >
Container_t fCont
 

Detailed Description

template<typename Cont>
class util::details::ContainerStorage < Cont, std::enable_if_t< util::is_reference_wrapper_v< Cont > > >

Definition at line 515 of file MappedContainer.h.

Member Typedef Documentation

template<typename Cont >
using util::details::ContainerStorage < Cont, std::enable_if_t< util::is_reference_wrapper_v< Cont > > >::Base_t = ContainerStorageBase<Cont>
private

Definition at line 519 of file MappedContainer.h.

template<typename Cont >
using util::details::ContainerStorage < Cont, std::enable_if_t< util::is_reference_wrapper_v< Cont > > >::DataContainer_t = typename Cont::type
private

Definition at line 520 of file MappedContainer.h.

Member Function Documentation

template<typename Cont >
util::details::ContainerStorage < Cont, std::enable_if_t< util::is_reference_wrapper_v< Cont > > >::ContainerStorage ( )
inline

Definition at line 530 of file MappedContainer.h.

531  : Base_t(typename Base_t::Container_t{NullRef<DataContainer_t>()})
532  {}

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