FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Catch::ReusableStringStream Class Reference

Public Member Functions

 ReusableStringStream ()
 
 ~ReusableStringStream ()
 
auto str () const -> std::string
 
template<typename T >
auto operator<< (T const &value) -> ReusableStringStream &
 
auto get () -> std::ostream &
 

Private Attributes

std::size_t m_index
 
std::ostream * m_oss
 

Constructor & Destructor Documentation

Catch::ReusableStringStream::ReusableStringStream ( )
Catch::ReusableStringStream::~ReusableStringStream ( )

Member Function Documentation

auto Catch::ReusableStringStream::get ( ) -> std::ostream&
inline
template<typename T >
auto Catch::ReusableStringStream::operator<< ( T const &  value) -> ReusableStringStream&
inline
auto Catch::ReusableStringStream::str ( ) const -> std::string

Field Documentation

std::size_t Catch::ReusableStringStream::m_index
private
std::ostream* Catch::ReusableStringStream::m_oss
private