pfr icon indicating copy to clipboard operation
pfr copied to clipboard

std::tuple like methods for user defined types without any macro or boilerplate code

Results 68 pfr issues
Sort by recently updated
recently updated
newest added
trafficstars

**Description of issue** Now i'm working with Boost.Fusion extension for Boost.PFR, i decomposed it into 3 PR's and opened these PR's here: https://github.com/boostorg/fusion/pull/241, here https://github.com/boostorg/fusion/pull/242 and here https://github.com/boostorg/fusion/pull/243. Review is...

help wanted

Example here https://godbolt.org/z/o11WY394r

Is it possible to support interoperation with boost fusion library i.e. make simple aggregates a boost fusion sequence? It allows to drop fusion macros like BOOST_FUSION_ADAPT_STRUCT().

Hello Anton. I have some idea and i want to suggest it for you. This patch will add pretty useful functionality for extracting member pointer of some structure. For example:...

```C++ template struct DelayConstruct { static inline T value{}; // construct in runtime. }; template constexpr std::size_t get_index(M T::*mem_ptr) { auto &t = DelayConstruct::value; return std::apply([&](auto&...e) { int idx =...

``` #ifdef _STR # error _STR already defined #endif #define _STR(S) BOOST_METAPARSE_STRING(S){} struct gps_position { field degrees; field minutes; field seconds; }; ``` We need to: 1. `field` template class,...

Is it possible to calculate structure padding using this library ?

Lets implement support for bit-fields for read-only mode.

help wanted
compiler-or-standard-limitation

This makes empty structs work with MSVC in that case.

I noticed that packed structures are not supported, while it is not mentioned in documentation. For example: ```c++ struct __attribute__ ((packed)) A { int x; int z; bool y; };...