Savarese Software Research Corporation
ToString.h File Reference

This header defines the ToString class. More...

#include <ssrc/wispers-packages.h>
#include <typeinfo>
#include <sstream>
Include dependency graph for ToString.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ToString
 ToString is a convenience class for converting non-string types to strings. More...

Functions

template<typename T >
string to_string (const T &obj) SSRC_DECL_THROW(std
template<>
string to_string< string > (const string &obj) SSRC_DECL_THROW(std
template<>
string to_string< char * > (char *const &obj) SSRC_DECL_THROW(std

Detailed Description

This header defines the ToString class.

Definition in file ToString.h.


Function Documentation

template<typename T >
string to_string ( const T &  obj) [inline]
template<>
string to_string< char * > ( char *const &  obj) [inline]

Definition at line 255 of file ToString.h.

template<>
string to_string< string > ( const string obj) [inline]

Definition at line 248 of file ToString.h.


Savarese Software Research Corporation
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.