OSVR-Core
Public Types | List of all members
osvr::util::detail::ComputeContainerWrapper< Container, ArgList > Struct Template Reference

Main metafunction used to compute the full type of a container wrapper. More...

#include <ContainerWrapper.h>

Public Types

using wants_iterators = typepack::contains< ArgList, container_policies::iterators >
 
using wants_const_iterators = typepack::and_< typepack::not_< wants_iterators >, typepack::contains< ArgList, container_policies::const_iterators >>
 
using wants_subscript = typepack::contains< ArgList, container_policies::subscript >
 
using wants_const_subscript = typepack::and_< typepack::not_< wants_subscript >, typepack::contains< ArgList, container_policies::const_subscript >>
 
using wants_size = typepack::contains< ArgList, container_policies::size >
 
using wants_empty = typepack::contains< ArgList, container_policies::empty >
 
using option_list = typepack::list< Option< wants_const_iterators, ContainerWrapperConstIterators >, Option< wants_iterators, ContainerWrapperIterators >, Option< wants_const_subscript, ContainerWrapperConstSubscript >, Option< wants_subscript, ContainerWrapperSubscript >, Option< wants_size, ContainerWrapperSize >, Option< wants_empty, ContainerWrapperEmpty >>
 
using type = typepack::fold< option_list, ContainerWrapperBase< Container >, ContainerWrapperFold< Container >>
 

Detailed Description

template<typename Container, typename ArgList>
struct osvr::util::detail::ComputeContainerWrapper< Container, ArgList >

Main metafunction used to compute the full type of a container wrapper.


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