List of all members
util::collection_from_reference_type< CollRef > Struct Template Reference

Trait with the type of collection referenced by collRef. More...

#include <ContainerMeta.h>

Inheritance diagram for util::collection_from_reference_type< CollRef >:
util::details::collection_from_reference_impl< std::remove_reference_t< CollRef > >

Additional Inherited Members

- Public Types inherited from util::details::collection_from_reference_impl< std::remove_reference_t< CollRef > >
using type = std::add_lvalue_reference_t< std::remove_reference_t< std::remove_reference_t< CollRef > >>
 
- Static Public Member Functions inherited from util::details::collection_from_reference_impl< std::remove_reference_t< CollRef > >
static std::remove_reference_t< CollRef > & get (std::remove_reference_t< CollRef > &coll)
 

Detailed Description

template<typename CollRef>
struct util::collection_from_reference_type< CollRef >

Trait with the type of collection referenced by collRef.

Template Parameters
CollReftype of collection of the data
See also
util::make_collection_reference(), util::collection_from_reference()

The type is a direct reference to the unwrapper container. For example, a CollRef instance of std::reference_wrapper will result in a C reference of the wrapped container, while a C pointer is left unchanged and a std::unique_ptr is turned into the equivalent pointer to its elements.

Definition at line 144 of file ContainerMeta.h.


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