dune-common  2.7.0
Public Types | List of all members
Dune::common_bits< current, mask > Struct Template Reference

activate if current and mask have common bits switched on. More...

#include <dune/common/debugstream.hh>

Public Types

enum  { value = ((current & mask)!=0) }
 

Detailed Description

template<DebugLevel current, DebugLevel mask>
struct Dune::common_bits< current, mask >

activate if current and mask have common bits switched on.

This template implements an alternative strategy to activate or deactivate a DebugStream. Keep in mind to number your streams as powers of two if using this template


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