3.0.0
Freundlich's C++ toolkit
Classes | Functions
fcppt::catch_ Namespace Reference

Classes

class  movable
 A movable-only type. More...
 

Functions

bool defer (bool const _value)
 Use this to avoid catch printing an expression. More...
 
template<typename Type >
fcppt::catch_::movable< fcppt::type_traits::remove_cv_ref_t< Type >> make_movable (Type &&_value)
 
template<typename Type >
bool operator== (fcppt::catch_::movable< Type > const &_left, fcppt::catch_::movable< Type > const &_right)
 
template<typename Type , typename Ch , typename Traits >
std::basic_ostream< Ch, Traits > & operator<< (std::basic_ostream< Ch, Traits > &_stream, fcppt::catch_::movable< Type > const &_movable)
 

Function Documentation

◆ make_movable()

template<typename Type >
fcppt::catch_::movable< fcppt::type_traits::remove_cv_ref_t< Type >> fcppt::catch_::make_movable ( Type &&  _value)
inline

◆ operator<<()

template<typename Type , typename Ch , typename Traits >
std::basic_ostream< Ch, Traits>& fcppt::catch_::operator<< ( std::basic_ostream< Ch, Traits > &  _stream,
fcppt::catch_::movable< Type > const &  _movable 
)

◆ operator==()

template<typename Type >
bool fcppt::catch_::operator== ( fcppt::catch_::movable< Type > const &  _left,
fcppt::catch_::movable< Type > const &  _right 
)