From 7bcdf4af4e842489adcb85626aa5c0e2bc8aa609 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 31 Oct 2022 13:21:28 +0100 Subject: [PATCH] Math: doc++ --- src/Magnum/Math/BitVector.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Magnum/Math/BitVector.h b/src/Magnum/Math/BitVector.h index 5f3e46770..ab5a393b2 100644 --- a/src/Magnum/Math/BitVector.h +++ b/src/Magnum/Math/BitVector.h @@ -72,11 +72,11 @@ The class implements @cpp && @ce, @cpp || @ce and @cpp ! @ce operators component-wise, in other words equivalently to @cpp & @ce, @cpp | @ce and @cpp ~ @ce. This is done in order to have consistent behavior with boolean operations on scalar types --- in the following example, it causes the final -conversion to @cpp bool @ce done at the end (instead of it happening already in -the boolean subexpressions). Combined with @ref operator bool() returning -@cpp true @ce only if all bits are set, this means the condition will be passed -only if @cpp b @ce is around @cpp a @ce in *all dimensions*, and work the same -way as if the variables were just scalars: +conversion to @cpp bool @ce to be done at the end (instead of it happening +already in the boolean subexpressions). Combined with @ref operator bool() +returning @cpp true @ce only if all bits are set, this means the condition will +be passed only if @cpp b @ce is around @cpp a @ce in *all dimensions*, and work +the same way as if the variables were just scalars: @snippet MagnumMath.cpp BitVector-boolean