Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

const-qualification on weak_ptr::owner_before

18 views
Skip to first unread message

Ai Azuma

unread,
Sep 6, 2011, 2:19:30 PM9/6/11
to
Is there any reason why weak_ptr::owner_before member function
templates are not const-qualified?


--
[ comp.std.c++ is moderated. To submit articles, try posting with your ]
[ newsreader. If that fails, use mailto:std-cpp...@vandevoorde.com ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html ]

Daniel Krügler

unread,
Sep 7, 2011, 12:53:45 PM9/7/11
to
Am 06.09.2011 20:19, schrieb Ai Azuma:
>
> Is there any reason why weak_ptr::owner_before member function
> templates are not const-qualified?

I'm pretty sure there isn't. It is amusing to note that this miss has
been undetected from the accepted paper on:

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2637.pdf

This is a near-to editorial issue, forwarded to LWG.

Greetings from Bremen,

Daniel Kr�gler

0 new messages