Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Function template invoke_manip

boost::log::invoke_manip

Synopsis

// In header: <boost/log/utility/manipulators/invoke.hpp>


template<typename FunctionT, typename... Args> 
  invoke_manipulator< unspecified > 
  invoke_manip(FunctionT && func, Args &&... args);

Description

Invoke manipulator generator function.

[Note] Note

args are only supported since C++14.

Parameters:

args

Additional arguments to pass to func.

func

User-defined function to invoke on output. The function must be callable with a reference to the output stream as the first argument, followed by args.

Returns:

Manipulator to be inserted into the stream.


PrevUpHomeNext