Boost C++ Libraries

PrevUpHomeNext

Struct template wrap_if_c

boost::log::formatters::wrap_if_c — A convenience class that conditionally wraps the type into a formatter.

Synopsis

// In header: <boost/log/formatters/wrappers.hpp>

template<typename CharT, typename T, bool > 
struct wrap_if_c {
  // types
  typedef fmt_wrapper< CharT, T > type;
};

PrevUpHomeNext