STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
stapl::disable_group_counter< GroupID > Struct Template Reference

Disables a specific counter group at compile-time. More...

Detailed Description

template<int GroupID>
struct stapl::disable_group_counter< GroupID >

Disables a specific counter group at compile-time.

If counters that are in the same group need to be disabled at compile time, resulting in empty calls without overhead, then a specialization of the class disable_group_counter must be provided that extends from std::true_type.

For example, if counters with group id 0 must be disabled, then defining

namespace stapl {
template<>
struct disable_group_counter<0>
: public std::true_type
{ };
}

will disable them.


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