Lines Matching refs:singleton
34 class singleton : public monomorphic::dataset<typename boost::decay<T>::type> { class
40 explicit iterator( singleton<T> const& owner ) in iterator()
50 singleton<T> const& m_owner;
58 explicit singleton( T&& value ) : m_value( std::forward<T>( value ) ) {} in singleton() function in boost::unit_test::data::monomorphic::singleton
61 singleton( singleton&& s ) : m_value( std::forward<T>( s.m_value ) ) {} in singleton() function in boost::unit_test::data::monomorphic::singleton
64 explicit singleton( T const& value ) : m_value( value ) {} in singleton() function in boost::unit_test::data::monomorphic::singleton
81 struct is_dataset<singleton<T> > : mpl::true_ {};
92 monomorphic::singleton<T>
97 return monomorphic::singleton<T>( std::forward<T>( v ) ); in make()
102 return monomorphic::singleton<T>( v );
108 inline monomorphic::singleton<char*> make( char* str ) in make()
111 return monomorphic::singleton<char*>( std::move(str) ); in make()
113 return monomorphic::singleton<char*>( str ); in make()
119 inline monomorphic::singleton<char const*> make( char const* str ) in make()
122 return monomorphic::singleton<char const*>( std::move(str) ); in make()
124 return monomorphic::singleton<char const*>( str ); in make()