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


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.

Boost Library Incubator:

Seeking for some endorsement, as per

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, gregod at, cpdaniel at, john at