MIRA
Public Member Functions | List of all members
MakeString Class Reference

Class for in-place stream formatting Used for constructs like: More...

#include <utils/MakeString.h>

Public Member Functions

template<typename T >
MakeStringoperator<< (const T &data)
 
 operator std::string () const
 Convert to an STL string. More...
 

Detailed Description

Class for in-place stream formatting Used for constructs like:

std::string s = MakeString() << "PI is around " << 3.141 << " I think.";

Member Function Documentation

◆ operator<<()

MakeString& operator<< ( const T &  data)
inline

◆ operator std::string()

operator std::string ( ) const
inline

Convert to an STL string.


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