1 /*-----------------------------------------------------------------------------+
2 Copyright (c) 2007-2009: Joachim Faulhaber
3 +------------------------------------------------------------------------------+
4 Copyright (c) 1999-2006: Cortex Software GmbH, Kantstrasse 57, Berlin
5 +------------------------------------------------------------------------------+
6 Distributed under the Boost Software License, Version 1.0.
7 (See accompanying file LICENCE.txt or copy at
8 http://www.boost.org/LICENSE_1_0.txt)
9 +-----------------------------------------------------------------------------*/
11 /*-----------------------------------------------------------------------------
12 Function-templates for discrete Datatypes like int, unsigned or
13 any class that provides a ++ operator c.f. iterators
14 -----------------------------------------------------------------------------*/
16 #ifndef BOOST_ICL_TO_STRING_HPP_JOFA_000712
17 #define BOOST_ICL_TO_STRING_HPP_JOFA_000712
23 namespace boost{ namespace icl
26 /// Static class template for the string representation of values
30 /** Converts all values of types to std::string that implement an operator << */
31 static std::string apply(const Type& value)
33 std::stringstream repr;
39 }} // namespace boost icl