Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
The drawback of this approach is that fully custom type representations are not supported, only the library-provided conversions are. Also all objects that should be populated by parsing have to be default constructible types. This includes not only the top-level object, but e.g. elements of containers, members of described `struct`s, and alternatives of variants.这种方法的缺点在于,不支持完全自定义的类型表示,仅支持库提供的转换。此外,所有需通过解析进行填充的对象都必须是可默认构造的类型——这不仅包括顶层对象,也包括容器的元素、所描述`struct`的成员以及变体类型的备选项。