mirror of
https://github.com/boostorg/pfr.git
synced 2026-01-19 04:22:13 +00:00
Add Clang support
This commit is contained in:
@@ -478,7 +478,7 @@ struct aggregate : empty { // not a SimpleAggregate
|
||||
The library may work with aggregates that don't satisfy the requirements of `SimpleAggregate`, but the behavior tends to be non-portable.
|
||||
|
||||
Boost.PFR's extraction of field name works with a `SimpleAggregate` which variables are able to be declared in any other translation unit.
|
||||
It's better not to use this feature with anonymous or local structure.
|
||||
It's better not to use this feature with anonymous structure, local structure or a structure defined inside anonymous namespace.
|
||||
|
||||
```
|
||||
struct external_simple_aggregate {
|
||||
|
||||
Reference in New Issue
Block a user