boostorg / hana

Your standard library for metaprogramming
http://boostorg.github.io/hana
Boost Software License 1.0
1.66k stars 217 forks source link

Integrate Boost.Describe into Boost.Hana? #498

Open denzor200 opened 2 years ago

denzor200 commented 2 years ago

Briefly about the Boost Describe library: "The purpose of the library is to establish a standard way of providing these reflection abilities. Many existing libraries provide their own way of describing enums or classes, but without a standard, code written by different people cannot interoperate." © Peter Dimov https://www.boost.org/doc/libs/develop/libs/describe/doc/html/describe.html

For example, this will allow _BOOST_DESCRIBESTRUCT to be used instead of _BOOST_HANA_ADAPTSTRUCT, which is more standarted way. I suggest to add boost/hana/ext/boost/describe.hpp, which will take over the integration with this library.