...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Defines for_each_sample algorithm.
namespace boost { namespace unit_test { namespace data { template<typename DataSet, typename Action> std::enable_if< monomorphic::is_dataset< DataSet >::value, void >::type for_each_sample(DataSet const & samples, Action const & act, data::size_t number_of_samples = BOOST_TEST_DS_INFINITE_SIZE); template<typename DataSet, typename Action> std::enable_if<!monomorphic::is_dataset< DataSet >::value, void >::type for_each_sample(DataSet const & samples, Action const & act, data::size_t number_of_samples = BOOST_TEST_DS_INFINITE_SIZE); } } }