The BOOST_PP_SET_PUSH_FRONT macro pushes an element onto the beginning of a set.

Usage

BOOST_PP_SET_PUSH_FRONT(set, elem)

Arguments

set
The set onto which elem is pushed.
elem
The element to push onto the beginning of set.

Remarks

This macro returns set after prepending elem
This macro is an explicit form of directly prepending an element.  In other words, BOOST_PP_SET_PUSH_FRONT(set, x) is equivalent to (x)set.

See Also

Requirements

Header:  <boost/preprocessor/set/push_front.hpp>

Sample Code

#include <boost/preprocessor/set/push_front.hpp>

#define SET (b)(c)

BOOST_PP_SET_PUSH_FRONT(SET, a) // expands to (a)(b)(c)