Struct push_front
boost::xpressive::op::push_front — push_front is a PolymorphicFunctionObject for pushing an element into the front of a container.
Synopsis
struct push_front {
typedef void result_type;
template<typename Sequence, typename Value>
void operator()(Sequence &, Value const &) const;
};
Description
push_front public member functions
- <
template<typenameSequence,typenameValue>
voidoperator()(Sequence&seq,Valueconst&val)const;
>Эквивалентно<seq.push_front(val)>.Параметры: | <seq> | Последовательность, в которую нужно втиснуть значение. | <val> | Значение толкать в последовательность. |
|
Возвращение: | <void> |