libmoost
/home/mhx/git/github/libmoost/include/moost/utils/stringify.hpp File Reference
#include <map>
#include <set>
#include <vector>
#include <ostream>
#include <string>
#include <boost/lexical_cast.hpp>
#include "foreach.hpp"
Include dependency graph for stringify.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  moost
 

Creates a unique temporary directory; removed on scope exit.


namespace  moost::utils

Functions

template<class T >
std::string moost::utils::stringify (const T &val, size_t truncate=0)
template<class T >
void moost::utils::streamstringify (std::ostream &os, const T &val, size_t=0)
template<class T1 , class T2 >
void moost::utils::streamstringify (std::ostream &os, const std::pair< T1, T2 > &val, size_t truncate=0)
template<class T >
void moost::utils::streamstringify (std::ostream &os, const std::set< T > &val, size_t truncate=0)
template<class T >
void moost::utils::streamstringify (std::ostream &os, const std::vector< T > &val, size_t truncate=0)
template<class T1 , class T2 >
void moost::utils::streamstringify (std::ostream &os, const std::map< T1, T2 > &val, size_t truncate=0)