Preprocessor tools built around BOOST_PP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
check
include/nauths/tools_pp
Makefile
README.md

README.md

TOOLS_PP

TOOLS_PP is a small collection of preprocessor tools built on top of BOOST_PP (hence the name). It includes:

  • TOOLS_PP_ARRAY_CAT: concatenates two BOOST_PP arrays;
  • TOOLS_PP_ARRAY_LOWER_BOUND: finds the index of the lower bound of an item in a given array;
  • TOOLS_PP_ARRAY_SORT: sorts the given array;
  • TOOLS_PP_ARRAY_SORT_U: sorts the given array and remove duplicates.

All of them also have a _D variant that takes and uses the next available BOOST_PP_WHILE iteration.