STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::conditonal_inherit< Base, Condition > Struct Template Reference

Helper class that conditionally inherits from another class based on a compile-time condition. More...

Public Member Functions

template<typename... T>
 conditonal_inherit (T &&... args)
 

Public Types

using base_type = typename std::conditional< Condition, Base, empty_class >::type
 

Detailed Description

template<typename Base, bool Condition>
struct stapl::conditonal_inherit< Base, Condition >

Helper class that conditionally inherits from another class based on a compile-time condition.

If the condition is false, then this class is an empty class with no methods.


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