...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(); }; // construct/copy/destruct size_t(std::size_t = 0); explicit size_t(bool); template<typename T> size_t(T); // public member functions 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 functionsstd::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);