BoolLValue Class Reference Data Types

#include <apibase.h>

详细描述

Use this class when you need a default argument for parameters of type Bool&. As an example, consider a function which adds elements to some set:

Result<void> Add(Element* e, Bool & added = BoolLValue());

e could already exist before in the set, so added is set to indicate if e was really added. If you as a caller are not interested in this, the default argument helps to provide a valid temporary lvalue object.

公共成员函数

  operator Bool & ()

Private Attributes

Bool   _value

成员函数文档编制

◆  operator Bool &()

operator Bool & ( )

Member Data Documentation

◆  _value

Bool _value
private
Bool
maxon::Bool Bool
定义: ge_sys_math.h:53