boost::xpressive::op::insert — insert is a PolymorphicFunctionObject for inserting a value or a sequence of values into a sequence container, an associative container, or a string.
Synopsis
// In header: <boost/xpressive/regex_actions.hpp>
structinsert{// member classes/structs/unionstemplate<typename Sig>structresult{// typestypedefunspecifiedtype;};// public member functionstemplate<typename Cont,typename A0>result<insert(Cont&,A0const&)>::typeoperator()(Cont&,A0const&)const;template<typename Cont,typename A0,typename A1>result<insert(Cont&,A0const&,A1const&)>::typeoperator()(Cont&,A0const&,A1const&)const;template<typename Cont,typename A0,typename A1,typename A2>result<insert(Cont&,A0const&,A1const&,A2const&)>::typeoperator()(Cont&,A0const&,A1const&,A2const&)const;template<typename Cont,typename A0,typename A1,typename A2,typename A3>result<insert(Cont&,A0const&,A1const&,A2const&,A3const&)>::typeoperator()(Cont&,A0const&,A1const&,A2const&,A3const&)const;};
Для формы<insert()(cont, a0)>, возврат<cont.insert(a0)>.
Для формы<insert()(cont, a0, a1)>, возврат<cont.insert(a0, a1)>
.
Для формы<insert()(cont, a0, a1, a2)>, возврат<cont.insert(a0, a1, a2)>.
Для формы<insert()(cont, a0, a1, a2, a3)>, возврат<cont.insert(a0, a1, a2, a3)>.
Статья Struct insert раздела The Boost C++ Libraries BoostBook Documentation Subset Reference может быть полезна для разработчиков на c++ и boost.
Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.