trace.hpp File Reference
#include <atria/meta/utils.hpp>
#include <iostream>

Go to the source code of this file.

Classes

struct  tracer
 Function object for calling trace. More...
 

Namespaces

 atria
 C++ amazing templates and reusable implementations awesomeness.
 
 atria::prelude
 Basic functional programming tools in the spirit of those in Clojure core and Haskell's Prelude.
 

Functions

template<typename T >
auto trace (T &&x, const std::string &message) -> T &&
 Prints "<message> <x>" to std::cerr and returns the value, forwarded. More...
 
Fork me on GitHub