boostorg/pfr

The docs should not accustom to use `std::is_aggregate` in PFR integration

denzor200 opened this issue · 0 comments

pfr/doc/pfr.qbk

Line 164 in 730f40b

std::enable_if_t<std::is_aggregate_v<T>> Write(Writer& writer, const T& value) {

We already have boost::pfr::is_reflectable that's specially intended for that goal, and it's better to recomment anyone to use it instead of std::is_aggregate.