Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
bind_to_log.hpp File Reference
#include <boost/log/detail/config.hpp>
#include <boost/log/utility/functional/bind.hpp>
#include <boost/log/utility/manipulators/to_log.hpp>
#include <boost/log/detail/header.hpp>
#include <boost/log/detail/footer.hpp>
Include dependency graph for bind_to_log.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  boost::to_log_fun< TagT >
 The function object that outputs its second operand to the first one. More...
 
struct  boost::to_log_fun< void >
 The function object that outputs its second operand to the first one. More...
 

Namespaces

 boost
 Duration formatting facet for input.
 

Functions

template<typename StreamT >
BOOST_FORCEINLINE binder1st
< to_log_fun< >, StreamT & > 
boost::bind_to_log (StreamT &strm)
 
template<typename TagT , typename StreamT >
BOOST_FORCEINLINE binder1st
< to_log_fun< TagT >, StreamT & > 
boost::bind_to_log (StreamT &strm)
 

Detailed Description

Author
Andrey Semashev
Date
06.11.2012

This header contains a function object that puts the received value to the bound stream using the to_log manipulator. This is a lightweight alternative to what Boost.Phoenix and Boost.Lambda provides.