StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Stsstream.h File Reference
#include <ctype.h>
#include "Rstrstream.h"
#include <iostream>
#include <cstdio>
#include <memory>
#include <string>

Go to the source code of this file.


template<typename... Args>
std::string FormString (const std::string &format, Args...args)

Detailed Description

Victor Perev 8/22/2003 Wrapper for old <strstream>

Definition in file Stsstream.h.

Function Documentation

template<typename... Args>
std::string FormString ( const std::string &  format,
Args...  args 

This is an alternative to the ROOT's global function Form() defined in TString.cxx. The implementation of this function is based on the answer to

Returns an std::string

Definition at line 40 of file Stsstream.h.

Referenced by StMemStat::AsString().