Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2021-03-11 15:31:35


Alexander Grund wrote:
> I kinda understand the motivation: Likely being able to pull in external,
> C++11/14 libs (headers) into C++98/11 libs, but I think the use case is too
> narrow: Likely other parts won't work

The motivation, as I said, is for people to be able to BOOST_DESCRIBE their
types without making their libraries require C++14.

E.g. for Boost.JSON to be able to BOOST_DESCRIBE this enum:

https://github.com/boostorg/json/blob/develop/include/boost/json/kind.hpp#L24


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