STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Static Public Member Functions | Public Types
stapl::detail::underlying_container_impl< T, ViewContainerIsView, IsSegmented > Struct Template Reference

Metafunction to extract the bottom-most container from a view type. More...

Static Public Member Functions

static type const & get (T const &view)
 
static type & get_mutable (T &view)
 

Public Types

using recursive = underlying_container_impl< typename T::view_container_type >
 
using type = typename recursive::type
 

Detailed Description

template<typename T, bool ViewContainerIsView = is_view< typename T::view_container_type >::type::value, bool IsSegmented = is_segmented_view<T>::type::value>
struct stapl::detail::underlying_container_impl< T, ViewContainerIsView, IsSegmented >

Metafunction to extract the bottom-most container from a view type.

For composed views, this goes through each view type and returns its container until the container is not a view. For segmented_views this returns the container of the view that is being segmented.


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