Nano
A C++ template metaprogramming library
Static Public Attributes | List of all members
nano::both_found< Type1, Type2 > Struct Template Reference

Checks if both types are found (have values != -1), in which case result is true, otherwise result is false. More...

#include <functions.hpp>

Static Public Attributes

static constexpr bool result = ( (Type1::value != -1) && (Type2::value != -1) ) ? true : false
 

Detailed Description

template<typename Type1, typename Type2>
struct nano::both_found< Type1, Type2 >

Checks if both types are found (have values != -1), in which case result is true, otherwise result is false.

Template Parameters
Type1The first type to determine if it is found
Type2The second type to determine if it is found

Member Data Documentation

template<typename Type1 , typename Type2 >
constexpr bool nano::both_found< Type1, Type2 >::result = ( (Type1::value != -1) && (Type2::value != -1) ) ? true : false
static

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