Template metafunction who performs a logical and against its inputs.
namespace framework { namespace meta { template <bool C0, bool C1> struct and_ { enum { value = false }; }; template <> struct and_<true, true> { enum { value = true }; }; } // namespace meta } // namespace frameworkFor an example, see TemplateMetafunctionHasFunction.
TemplateMetaprogrammingTechniques TemplateMetafunctionHasFunction CategoryCppTemplates