Struct notFalse

Struct Documentation

struct notFalse

Check if given value casts to boolean true.

One Check struct that checks whether the given value casts to true or to false. T can be: boost::optional, boost::none, nix-entity and any basic type.

Public Functions

template<typename T>
inline bool operator()(const T &val) const