spdlog
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Catch::ReusableStringStream Class Reference

Detailed Description

Definition at line 1304 of file catch.hpp.

#include <catch.hpp>

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::ostreamm_oss
 

Constructor & Destructor Documentation

◆ ReusableStringStream()

Catch::ReusableStringStream::ReusableStringStream ( )

◆ ~ReusableStringStream()

Catch::ReusableStringStream::~ReusableStringStream ( )

Member Function Documentation

◆ get()

auto Catch::ReusableStringStream::get ( ) -> std::ostream&
inline

Definition at line 1318 of file catch.hpp.

◆ operator<<()

template<typename T >
auto Catch::ReusableStringStream::operator<< ( T const &  value) -> ReusableStringStream&
inline

Definition at line 1314 of file catch.hpp.

◆ str()

auto Catch::ReusableStringStream::str ( ) const -> std::string

Member Data Documentation

◆ m_index

std::size_t Catch::ReusableStringStream::m_index
private

Definition at line 1305 of file catch.hpp.

◆ m_oss

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

Definition at line 1306 of file catch.hpp.


The documentation for this class was generated from the following file: