Struct notEmpty

Struct Documentation

struct notEmpty

Check if given class/struct returns “empty() == false”.

One Check struct that checks whether the given value is not empty or is empty. T can be: any STL container.

Public Functions

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