C++QEDCore  2.100.2 (v2 Milestone 10 Development branch)
a framework for simulating open quantum dynamics – core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
tmptools::numerical_contains< Seq, ICW > Struct Template Reference

Determines whether a compile-time sequence “numerically contains” a given value. More...

#include <TMP_Tools.h>

+ Inheritance diagram for tmptools::numerical_contains< Seq, ICW >:
+ Collaboration diagram for tmptools::numerical_contains< Seq, ICW >:

Detailed Description

template<typename Seq, typename ICW>
struct tmptools::numerical_contains< Seq, ICW >

Determines whether a compile-time sequence “numerically contains” a given value.

Template Parameters
Seqthe sequence (presumably containing integers)
ICWan integral constant wrapper

The motivation for this metafunction is that Boost.MPL’s contains metafunction looks for the identity of the actual types, and not the numerical equality of the contained values.

See also
numerical_equal

Definition at line 93 of file TMP_Tools.h.


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