CLHEP VERSION Reference Documentation
CLHEP Home Page
CLHEP Documentation
CLHEP Bug Reports
Cast
src
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
18
std::string
itos
(
long
i
) {
19
20
std::ostringstream
s
;
21
s
<<
i
;
22
23
return
s
.str();
24
25
}
// itos()
itos
std::string itos(long i)
Definition:
itos.cc:18
s
Methods applicble to containers of as in std::list< LorentzVector > s
Definition:
keyMergeIssues.doc:328
i
long i
Definition:
JamesRandomSeeding.txt:27
Generated by
1.8.17