CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
itos.cc
Go to the documentation of this file.
1// ----------------------------------------------------------------------
2//
3// itos - convert (long) integer to string
4//
5// History:
6// 19-Dec-1997 WEB Initial draft
7// 05-Dec-1998 WEB Added "using" statement
8// 14-Feb-2000 WEB Improve C++ Standard compliance
9//
10// ----------------------------------------------------------------------
11
12#include <sstream>
13
14#include "CLHEP/Cast/defs.h"
15#include "CLHEP/Cast/itos.h"
16
17
18std::string itos( long i ) {
19
20 std::ostringstream s;
21 s << i;
22
23 return s.str();
24
25} // itos()
std::string itos(long i)
Definition: itos.cc:18