Boost logo

Boost :

Subject: [boost] Seeking endorsement for the reflection library (PFR)
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2017-11-04 20:24:06


Hello,

PFR is a C++14 library that provides tuple-like methods for aggregate
initializables. Library has a set of predefined operators and useful
functions for everyday use. Works with user-defined types without any
macro or boilerplate code.

Library: https://github.com/apolukhin/magic_get
Docs: http://apolukhin.github.io/magic_get/
Boost Library Incubator:
http://blincubator.com/bi_library/pfr-pod-flat-reflection/?gform_post_id=1606

Seeking for some endorsement, as per
http://www.boost.org/development/submissions.html

Library changes since last mail:
* Now works on latest MSVC in C++17 mode
* C++14 limitations in reflection were significantly relaxed
* Removed UB (no more reinterpret casting of unrelated types!)
* Thaler Benedek was approved as a review manager for the library.

Boost libraries that may benefit from PFR:
* Convert - for out-of-the-box conversions of user types
* Hana - for using user types instead of tuples
* Intrusive - for reusing unused bits in user provided types
* Serialization - for out-of-the-box serialization of user types
* Spirit - for putting rule results into user provided types without
Phoenix or Fusion macro
* Test - for outputting content of user provided types
* TypeTraits - for traits like has_unique_object_representations in C++14

-- 
Best regards,
Antony Polukhin

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