The set/first_n.hpp header defines a macro that returns the first N elements of a set.

Usage

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

Contents