Boost.Hana  1.1.0
Your standard library for metaprogramming
adapt_adt.hpp File Reference

Documents the BOOST_HANA_ADAPT_ADT macro. More...


 Namespace containing everything in the library.


auto boost::hana::BOOST_HANA_ADAPT_ADT (...)
 Defines a model of Struct with the given accessors.Using this macro at global scope will define a model of the Struct concept for the given type. This can be used to easily adapt existing user-defined types in a ad-hoc manner. Unlike BOOST_HANA_ADAPT_STRUCT, this macro requires specifying the way to retrieve each member by providing a function that does the extraction. More...

Detailed Description

Documents the BOOST_HANA_ADAPT_ADT macro.