C++ Logo

STD-DISCUSSION

Advanced search

Subject: Possible defect in [class.mem]/17
From: Alexander (alexandreterceiroogrande_at_[hidden])
Date: 2019-06-04 15:51:02


[class.mem]/17 <http://eel.is/c++draft/class.mem#17>:

[ Note <http://eel.is/c++draft/class.mem#17.note-1>
:
*The type of a non-static member function is an ordinary function type*,
and the type of a non-static data member is an ordinary object type.
<http://eel.is/c++draft/class.mem#17.sentence-1>
There are no special member function types or data member types.
<http://eel.is/c++draft/class.mem#17.sentence-2>
 â€” *end note*
]

Given this recent answer <https://stackoverflow.com/a/56409927/1042389> in
SO, I would say that the first part (in bold) of this Note is a defect. It
simply doesn't make any sense to me. I would appreciate some feedback on
this.



STD-DISCUSSION list run by herb.sutter at gmail.com

Older Archives on Google Groups