Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
denzor200 opened this issue Dec 26, 2023 · 0 comments
Closed

Comments

@denzor200
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant