ZeroErr
container_of.h File Reference
Include dependency graph for container_of.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  zeroerr::ContainerOfBase
 
class  zeroerr::AssociativeContainerOf< T, InnerDomain >
 
class  zeroerr::SequenceContainerOf< T, InnerDomain >
 

Namespaces

 zeroerr
 

Functions

template<typename T , typename Inner >
std::enable_if< detail::is_associative_container< T >::value, AssociativeContainerOf< T, Inner > >::type zeroerr::ContainerOf (Inner &&inner)
 
template<typename T , typename Inner >
std::enable_if<!detail::is_associative_container< T >::value &&detail::is_container< T >::value, SequenceContainerOf< T, Inner > >::type zeroerr::ContainerOf (Inner &&inner)
 
template<template< typename, typename... > class T, typename... Inner, typename C = T<typename Inner::ValueType...>>
auto zeroerr::ContainerOf (Inner... inner) -> decltype(ContainerOf< C >(std::move(inner)...))