C++ Logo


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.
There are no special member function types or data member types.
 â€” *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

STD-DISCUSSION list run by std-discussion-owner@lists.isocpp.org

Older Archives on Google Groups