All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Classes | Namespaces | Functions
pretty_stream.hpp File Reference
#include <cmath>
#include <iostream>
#include <string>

Go to the source code of this file.

Classes

struct  paal::pretty_stream< Stream >
 pretty_stream stream that uses pretty_to_string method More...
 

Namespaces

 paal
 global namespace of project.
 

Functions

std::string paal::pretty_to_string (double x, double epsilon=1e-9)
 pretty_to_string prints double which is close to int as int More...
 
template<typename T >
std::string paal::pretty_to_string (T &&t)
 generic version of pretty_to_string More...
 
template<typename Stream >
pretty_stream< Stream > paal::make_pretty_stream (Stream &s, double epsilon=1e-9)
 make for pretty_stream More...
 

Detailed Description

Author
Piotr Wygocki
Version
1.0
Date
2014-06-12

Definition in file pretty_stream.hpp.