Magic Get Versions Save

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

2.0.2

2 years ago
  • A MurMur Hash based implementation of hash_combine() is now used to reduce collisions count and improve quality of boost::pfr::hash_value()
  • Visual Studio 2017 now supported in C++14 mode (thanks to Denis Mikhailov aka @denzor200)
  • Issues found by inspect tool were fixed
  • Fixed some warnings, including removal of extra semicolons in include/boost/pfr/detail/fields_count.hpp (fixes #72)
  • Added a compile time assert for inherited types (thanks to Denis Mikhailov aka @denzor200)
  • Reflection of aggregates with non movable fields is now possible if guaranteed copy elision is on
  • Fixed spelling issues

2.0.1

3 years ago
  • Comparison functions are now constexpr
  • Aggregates with members that have lost const qualifiers on SFINAE in constructor (like std::optional<std::chrono::duration<A,B>> from libc++) now could be reflected again
  • Multiple typos fixed

2.0.0

3 years ago

First Boost release of the library. Significant changes since version 1.0.x:

  • Removed the Flat reflection
  • Removed global_ops.hpp
  • boost::pfr::ops::operator* were changed to functions and moved to boost::pfr:: namespace
  • Big rewrite of docs
  • Better testing and improved diagnostics
  • Helper script now works with Python2 and Python3