Group: comp.lang.c++
From: "Victor Bazarov"
Date: Thursday, November 29, 2007 12:14 PM
Subject: Re: Dereferencing std::auto_ptr to invoke a member function

matt.elkins@gmail.com wrote:
> [..problem arising auto_ptr's not overloading operator->* ..]
> This long-winded preamble (apologies) brings me to my
> question: was this overload intentionally left out of std::auto_ptr,
> or is it an oversight (or is it actually in there and just an
> oversight in the implementation)? If intentional, what was the
> rationale? If not intentional, what the odds we will see it in the
> next Standard?

The correct place to ask those questions would be 'comp.std.c++'
where they discuss the standardisation process, rationales, what
goes into the next one, etc.

AFAIK, auto_ptr (and its variations) provides no overload for ->*
(as per the Standard).

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask


Safety Articles | Usenet Groups | Usenet News | Bluegrass