The BOOST_PP_SET_HEAD macro expands to the first element in a set.

Usage

BOOST_PP_SET_HEAD(set)

Arguments

set
The set from which the first element is extracted.

See Also

Requirements

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

Sample Code

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

#define SET (a)(b)(c)

BOOST_PP_SET_HEAD(SET) // expands to a
BOOST_PP_SET_TAIL(SET) // expands to (b)(c)