Open thyecust opened 2 years ago
The word “async” before a function means one simple thing: a function always returns a promise.
If a derived class is handled using pointer or reference to the base class, a call to an overridden "virtual" function would invoke the behavior defined in the derived class.
https://en.cppreference.com/w/cpp/language/virtual
Virtual functions support dynamic binding and object-oriented programming.
C++2003, ISO_IEC 14882 2003.
Inside a class definition, the keyword "static" declares members that are not bound to class instances.
call by reference
a function can change the values of its non-const parameters, but these changes cannot affect the values of the arguments except where a parameter is of a reference type (8.3.2); if the reference is to a const-qualified type, const_cast is required to be used to cast away the constness in order to modify the argument’s value. Where a parameter is of const reference type a temporary object is introduced if needed (7.1.5, 2.13, 2.13.4, 8.3.4, 12.2). In addition, it is possible to modify the values of nonconstant objects through pointer parameters.
C++2003
The Internet Engineering Task Force (IETF) is the premier Internet standards body, developing open standards through open processes.