...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
simple dataset size abstraction (can be infinite)
namespace boost { namespace unit_test { namespace data { class size_t; bool operator>(data::size_t lhs, std::size_t rhs); bool operator>(std::size_t lhs, data::size_t rhs); bool operator>(data::size_t lhs, data::size_t rhs); bool operator>=(data::size_t lhs, std::size_t rhs); bool operator>=(std::size_t lhs, data::size_t rhs); bool operator>=(data::size_t lhs, data::size_t rhs); bool operator<(data::size_t lhs, std::size_t rhs); bool operator<(std::size_t lhs, data::size_t rhs); bool operator<(data::size_t lhs, data::size_t rhs); bool operator<=(data::size_t lhs, std::size_t rhs); bool operator<=(std::size_t lhs, data::size_t rhs); bool operator<=(data::size_t lhs, data::size_t rhs); bool operator==(data::size_t lhs, std::size_t rhs); bool operator==(std::size_t lhs, data::size_t rhs); bool operator==(data::size_t lhs, data::size_t rhs); bool operator!=(data::size_t lhs, std::size_t rhs); bool operator!=(std::size_t lhs, data::size_t rhs); bool operator!=(data::size_t lhs, data::size_t rhs); data::size_t operator+(data::size_t lhs, std::size_t rhs); data::size_t operator+(std::size_t lhs, data::size_t rhs); data::size_t operator+(data::size_t lhs, data::size_t rhs); data::size_t operator*(data::size_t lhs, std::size_t rhs); data::size_t operator*(std::size_t lhs, data::size_t rhs); data::size_t operator*(data::size_t lhs, data::size_t rhs); template<typename CharT1, typename Tr> std::basic_ostream< CharT1, Tr > & operator<<(std::basic_ostream< CharT1, Tr > & os, data::size_t const & s); } } }