C++ Logo

std-discussion

Advanced search

About non-object-parameter-type-list

From: Vladimir Grigoriev <vlad.moscow_at_[hidden]>
Date: Wed, 10 Jul 2024 23:04:45 +0300
There is some confusion about non-object-parameter-type-list.
 
In the C++ Draft (n4950) in teh section 9.3.4.6 Functions there is written the following:
 
7 A function parameter declared with an explicit-object-parameter-declaration is an explicit object parameter. An explicit object parameter shall not be a function parameter pack (13.7.4). An explicit object member function is a non-static member function with an explicit object parameter. An implicit object member function is a non-static member function without an explicit object parameter.
 
8 The object parameter of a non-static member function is either the explicit object parameter or the implicit object parameter (12.2.2).
 
9 A non-object parameter is a function parameter that is not the explicit object parameter. The non-object-parameter-type-list of a member function is the parameter-type-list of that function with the explicit object parameter, if any, omitted.
 
Should it be written in the last quote that «...The non-object-parameter-type-list of a member function is the parameter-type-list of that function with an implicit object parameter , if any, omitted.»?
 
With best regards
(Vlad from Moscow)
 
You can meet me at http://cpp.forum24.ru/ or www.stackoverflow.com or http://ru.stackoverflow.com

Received on 2024-07-10 20:05:11