From 0e08284fa79ab64be20d6e8616f50e2db6f42663 Mon Sep 17 00:00:00 2001 From: insideoutclub Date: Sat, 4 Mar 2017 08:55:27 -0800 Subject: [PATCH] Update safe_literal.xml --- doc/boostbook/safe_literal.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/boostbook/safe_literal.xml b/doc/boostbook/safe_literal.xml index 314a923..1bde0d5 100644 --- a/doc/boostbook/safe_literal.xml +++ b/doc/boostbook/safe_literal.xml @@ -11,7 +11,7 @@ Description A safe type which holds a literal value. This is required to be able - to initialize other safe type in such a way that exception code is not + to initialize other safe types in such a way that an exception code is not generated. It is also useful when creating constexpr versions of safe types. It contains one immutable value known at compile time and hence can be used in any constexpr expression. @@ -117,7 +117,7 @@ Inherited Valid Expressions SafeLiteral types are immutable. Hence they only inherit those valid - expressions which don't change the value. The excludes assignment, + expressions which don't change the value. This excludes assignment, increment, and decrement operators. Other than that, they can be used anywhere a SafeNumeric type can be used.