forked from boostorg/exception
28 lines
600 B
C++
28 lines
600 B
C++
//Copyright (c) 2006-2008 Emil Dotchevski and Reverge Studios, Inc.
|
|
|
|
//Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
#ifndef UUID_7E48761AD92811DC9011477D56D89593
|
|
#define UUID_7E48761AD92811DC9011477D56D89593
|
|
|
|
#include <sstream>
|
|
|
|
namespace
|
|
boost
|
|
{
|
|
namespace
|
|
{
|
|
template <class T>
|
|
std::string
|
|
to_string( T const & x )
|
|
{
|
|
std::ostringstream out;
|
|
out << x;
|
|
return out.str();
|
|
}
|
|
}
|
|
}
|
|
|
|
#endif
|