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 >:Determines whether a compile-time sequence “numerically contains” a given value.
| Seq | the sequence (presumably containing integers) |
| ICW | an 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.
Definition at line 93 of file TMP_Tools.h.