Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Macro BOOST_VMD_SEQ_PUSH_FRONT

BOOST_VMD_SEQ_PUSH_FRONT — inserts an element at the beginning of a seq.

Synopsis

// In header: <boost/vmd/seq/push_front.hpp>

BOOST_VMD_SEQ_PUSH_FRONT(seq, elem)

Description

seq = seq to insert an element at. elem = element to insert.

If the seq is an empty seq the result is a seq with the single element. Otherwise the result is a seq after inserting the element at the beginning.


PrevUpHomeNext