Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Header <boost/test/data/monomorphic/dataset.hpp>

Defines monomorphic dataset interface.

namespace boost {
  namespace unit_test {
    namespace data {
      template<typename SampleType, typename Action> 
        void for_each_sample(monomorphic::dataset< SampleType > const & ds, 
                             Action const & act, 
                             data::size_t number_of_samples = BOOST_TEST_DS_INFINITE_SIZE);
      template<typename SampleType, typename Action> 
        BOOST_TEST_ENABLE_IF<!monomorphic::is_dataset< SampleType >::value, void >::type 
        for_each_sample(SampleType const & samples, Action const & act, 
                        data::size_t number_of_samples = BOOST_TEST_DS_INFINITE_SIZE);
      namespace monomorphic {
        template<typename T> class dataset;

        template<typename T> struct traits;

        template<typename T1, typename T2> struct traits<std::tuple< T1, T2 >>;
        template<typename T1, typename T2, typename T3> 
          struct traits<std::tuple< T1, T2, T3 >>;
      }
    }
  }
}

PrevUpHomeNext