...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::save_result_wrapper — Function object wrapper for saving the adopted function object result.
// In header: <boost/log/utility/functional/save_result.hpp> template<typename FunT, typename AssigneeT> struct save_result_wrapper { // types typedef void result_type; // construct/copy/destruct save_result_wrapper(FunT, AssigneeT &); // public member functions template<typename ArgT> result_type operator()(ArgT const &) const; };
save_result_wrapper
save_result_wrapper()Веселье,Назначение&цессионарий;
шаблон<имя типаArgT>результат_типоператорArgTconst&argconst;
Статья Struct template save_result_wrapper раздела Chapter 1. Boost.Log v2 Utilities может быть полезна для разработчиков на c++ и boost.
Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.
:: Главная :: Utilities ::
реклама