CLHEP VERSION Reference Documentation
CLHEP Home Page
CLHEP Documentation
CLHEP Bug Reports
Main Page
Namespaces
Classes
Files
File List
File Members
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
Generated on Sat Apr 26 2014 07:58:33 for CLHEP by
1.8.6