C++ Logo


Advanced search

Re: [std-proposals] Simplify taking pointer to non-static member function

From: ஜெய்கணேஷ் குமரன் <jaiganesh.kumaran_at_[hidden]>
Date: Tue, 5 Mar 2024 18:01:50 +0000
Remember: we're talking about querying information that you *already
have*. The "this pointer of the current instance" is clearly available
to whomever is writing `&class_name::function`. Besides your personal
convenience, what's the point here?
Besides personal convenience, there is no point, yes. Anyway, do consider much original suggestion of simply not needing to quality non-static member functions with class name, even if you do not consider this.

Received on 2024-03-05 18:01:55