Adobe Source Libraries 2.0.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
ConvertibleToBool
Description
A type is ConvertibleToBool if it can be implicitly converted to a boolean value.
Refinement Of
Associated Type(s)
Notation
XA type that is a model of ConvertibleToBool
xObject of type X
bObject of type bool
Definitions
Valid Expressions
NameExpressionType requirementsReturn type
ConvertibleToBoolbool b = x; bool
ConvertibleToBoolif (x)
-or-
if (!x)
  
Expression Semantics
NameExpressionPreconditionSemanticsPostcondition
ConvertibleToBoolbool b = x;   
ConvertibleToBoolif (x)
-or-
if (!x)
   
Complexity Guarantee(s)
Invariants
Type(s) Modeling this Concept
Notes
See Also