Boost logo

Boost :

From: Benedek Thaler (thalerbenedek_at_[hidden])
Date: 2020-09-27 18:16:22

The Boost formal review of the FPR (Flat Precise Reflection, ex Magic
Get, ex PODs Flat Reflection) starts Today, taking place from September 28, 2020
to October 7, 2020.

The library is authored by Antony Polukhin, author of Boost.DLL,
Stacktrace, Type Index libraries.


The library is meant for accessing structure elements by index and
providing other std::tuple like methods for user defined types without
any macro or boilerplate code.

The FPR documentation summarizes the out-of-the-box added
functionality for aggregate initializable structures:

 - comparison operators
 - heterogeneous comparators
 - hash
 - stream operators
 - access to members by index
 - member reflections
 - methods for cooperation with std::tuple
 - methods to visit each field of the structure

If the description isn't immediately obvious for you, here's a
motivating example:

// requires: C++14
#include <iostream>
#include <string>
#include "boost/pfr/precise.hpp"

struct some_person {
    std::string name;
    unsigned birth_year;

int main() {
    some_person val{"Edgar Allan Poe", 1809};

    std::cout << boost::pfr::get<0>(val) // No macro!
        << " was born in " << boost::pfr::get<1>(val); // Works with
any aggregate initializables!

Please provide in your review information you think is valuable to
understand your choice to ACCEPT or REJECT including FPR as a
Boost library. Please be explicit about your decision (ACCEPT or REJECT).

Some other questions you might want to consider answering:

  - What is your evaluation of the design?
  - What is your evaluation of the implementation?
  - What is your evaluation of the documentation?
  - What is your evaluation of the potential usefulness of the library?
  - Did you try to use the library? With which compiler(s)? Did you
    have any problems?
  - How much effort did you put into your evaluation? A glance? A quick
    reading? In-depth study?
  - Are you knowledgeable about the problem domain?

More information about the Boost Formal Review Process can be found

Thank you for your effort in the Boost community.

- review manager of the FPR library

Boost list run by bdawes at, gregod at, cpdaniel at, john at