STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Types | Static Public Attributes
stapl::container_levels< T, bool > Struct Template Reference

Metafunction to determine how many containers are nested within the value_types of a given type. More...

Public Types

typedef unsigned int value_type
 

Static Public Attributes

static const value_type value = 0
 

Detailed Description

template<typename T, bool = is_container<T>::value>
struct stapl::container_levels< T, bool >

Metafunction to determine how many containers are nested within the value_types of a given type.

For example, given the type <t>array<array<vector<int>>>, this metafunction would reflect a value of 3.

Template Parameters
TThe type in question

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