C++ Logo

std-discussion

Advanced search

Possible defect in [class.mem]/17

From: Alexander <alexandreterceiroogrande_at_[hidden]>
Date: Tue, 4 Jun 2019 17:51:02 -0300
[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.

Received on 2019-06-04 15:53:02