Boost logo

Boost :

Subject: [boost] BOOST_PP array extension proposal
From: Antoine Leblanc (crucuny_at_[hidden])
Date: 2015-09-10 13:35:24


Hello to all of you!

A few years ago, I've developped a small extension to BOOST_PP that
adds a few functions to it. Namely:
* ARRAY_CAT, which concatenates two BOOST_PP arrays;
* ARRAY_LOWER_BOUND, which finds the index of the lower bound of an
item in a given array of numerical values;
* ARRAY_SORT, which sorts the given array of numerical values;
* ARRAY_SORT_U, which sorts the given array and remove duplicates.

I'm not sure it'd be worth adding to BOOST_PP; but if you think it
might be, I'd be happy to submit a merge request. The code is rather
small and can be browsed at https://github.com/nicuveo/TOOLS_PP

Any suggestion or input is welcome. Thanks for your time!

-- 
Antoine Leblanc

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk