From b85f1bba4f30ece8c88a35a41388e4e6f5d3eb87 Mon Sep 17 00:00:00 2001 From: liuzicheng1987 Date: Sun, 5 Nov 2023 13:21:43 +0100 Subject: [PATCH] Minor changes to the README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c3086f51..5d3c930f 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Design principles for reflect-cpp include: // Age must be a plausible number, between 0 and 130. This will // be validated automatically. -using Age = rfl::Validator, rfl::Maximum<130>>>; // "firstName", "lastName" and "children" are the field names @@ -157,10 +157,10 @@ reflect-cpp supports the following containers from the C++ standard library: In addition, it supports the following custom containers: -- `rfl::Box`: Similar to `std::unique_ptr`, but guaranteed to never be null. +- `rfl::Box`: Similar to `std::unique_ptr`, but (almost) guaranteed to never be null. - `rfl::Literal`: An explicitly enumerated string. - `rfl::NamedTuple`: Similar to `std::tuple`, but with named fields that can be retrieved via their name at compile time. -- `rfl::Ref`: Similar to `std::shared_ptr`, but guaranteed to never be null. +- `rfl::Ref`: Similar to `std::shared_ptr`, but (almost) guaranteed to never be null. - `rfl::Result`: Allows for exception-free programming. - `rfl::TaggedUnion`: Similar to `std::variant`, but with explicit tags that make parsing more efficient. - `rfl::Validator`: Allows for automatic input validation.