Dune::common_bits< current, mask > Struct Template Reference
[Debug output]

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

#include <dune/common/debugstream.hh>

List of all members.

Static Public Attributes

static const bool value = notzero<current & mask>::value

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


Member Data Documentation

template<DebugLevel current, DebugLevel mask>
const bool Dune::common_bits< current, mask >::value = notzero<current & mask>::value [static]

The documentation for this struct was generated from the following file:
Generated on Mon Apr 26 10:45:23 2010 for dune-common by  doxygen 1.6.3