You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+36-3
Original file line number
Diff line number
Diff line change
@@ -15,12 +15,14 @@ Compared to Google’s implementation, hpp-proto adopts a minimalistic design th
15
15
* Each generated C++ aggregate is associated with static C++ reflection data for efficient Protocol Buffers encoding and decoding.
16
16
* All generated message types are equality-comparable, making them useful in unit testing.
17
17
* Completely exception-free.
18
-
* Supports non-owning mode code generation, mapping string and repeated fields to `std::string_view` and `hpp::proto::equality_comparable_span` which derives from `std::span` and adds the equality comparator.
18
+
* Supports non-owning mode code generation, mapping string and repeated fields to `std::string_view` and `hpp::proto::equality_comparable_span` which derives from `std::span` and adds the equality comparator.
19
+
Non-owning mode can be enabled globally via [protoc plugin options](docs/Code_Generation_Guide.md##plugin-options)
20
+
or selectively using [protobuf extensions](docs/Code_Generation_Guide.md#non-owning-mode-only-for-specific-files-messages-or-fields).
19
21
* Enables compile-time serialization.
20
22
21
23
## Limitations
22
24
* Lacks runtime reflection support.
23
-
* Lacks support for extra json print options like `always_print_fields_with_no_presence`, `always_print_enums_as_ints`,
25
+
* Lacks support for extra json print options in the google C++ protobuf implementation like `always_print_fields_with_no_presence`, `always_print_enums_as_ints`,
0 commit comments