SpECTRE  v2024.09.29
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
MakeString Class Reference

Make a string by streaming into object. More...

#include <MakeString.hpp>

Public Member Functions

 MakeString (const MakeString &)=delete
 
MakeStringoperator= (const MakeString &)=delete
 
 MakeString (MakeString &&)=default
 
MakeStringoperator= (MakeString &&)=delete
 

Friends

template<class T >
MakeString operator<< (MakeString &&ms, const T &t)
 
template<class T >
MakeStringoperator<< (MakeString &ms, const T &t)
 

Detailed Description

Make a string by streaming into object.

std::array<int, 3> arr{{2, 3, 4}};
const std::string t = MakeString{} << "Test" << 2 << arr << "Done";
Make a string by streaming into object.
Definition: MakeString.hpp:18

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