...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::unit_test::data::size_t — Utility for handling the size of a datasets.
// In header: <boost/test/data/size.hpp> class size_t { public: // member classes/structs/unions struct dummy { // public member functions void nonnull(); }; // public member functions size_t(std::size_t = 0); explicit size_t(bool); template<typename T> size_t(T); std::size_t value() const; bool is_inf() const; operator safe_bool() const; data::size_t operator--(); data::size_t operator--(int); data::size_t operator++(); data::size_t operator++(int); data::size_t & operator+=(std::size_t); data::size_t & operator+=(data::size_t); data::size_t & operator-=(std::size_t); data::size_t & operator-=(data::size_t); };
size_t
public member functionssize_t(std::size_t s = 0);
explicit size_t(bool);
template<typename T> size_t(T v);
std::size_t value() const;
bool is_inf() const;
operator safe_bool() const;
data::size_t operator--();
data::size_t operator--(int);
data::size_t operator++();
data::size_t operator++(int);
data::size_t & operator+=(std::size_t rhs);
data::size_t & operator+=(data::size_t rhs);
data::size_t & operator-=(std::size_t rhs);
data::size_t & operator-=(data::size_t rhs);