...one of the most highly regarded and expertly designed C++ library projects in the world. — Herb Sutter and Andrei Alexandrescu, C++ Coding Standards
...one of the most highly regarded and expertly designed C++ library projects in the world.
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; };
nop
voidoperator()()constnoexcept;
template<typename...ArgsT>voidoperator()(ArgsTconst&...)constnoexcept;
Статья Struct nop раздела Chapter 1. Boost.Log v2 Utilities может быть полезна для разработчиков на c++ и boost.
Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.
:: Главная :: Utilities ::
реклама