The BOOST_PP_SET_PUSH_BACK macro pushes an element onto the end of a set.

Usage

BOOST_PP_SET_PUSH_BACK(set, elem)

Arguments

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

Remarks

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

See Also

Requirements

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

Sample Code

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

#define SET (a)(b)

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