has_value

Synopsis

template <class T>
struct has_value
{
  // unspecified
};

Description

Check if a T::value value is available. Returns a wrapped boolean value.

#include <mpllibs/metamonad/has_value.hpp>

Example

struct foo {};

assert(!has_value<foo>::type::value);

[up]