...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::log::nop — The function object that does nothing.
// In header: <boost/log/utility/functional/nop.hpp> struct nop { // types typedef void result_type; // public member functions void operator()() const noexcept; template<typename... ArgsT> void operator()(ArgsT const &) const noexcept; };