2
0
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:
denzor200
2023-08-19 17:13:29 +03:00
parent b15196c2e0
commit 6f544ceaa7
7 changed files with 78 additions and 23 deletions

View File

@@ -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 {