Topic: const-qualification on weak_ptr::owner_before


Author: Ai Azuma<ai.azuma@gmail.com>
Date: Tue, 6 Sep 2011 11:19:30 -0700 (PDT)
Raw View
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-submit@vandevoorde.com ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]




Author: =?ISO-8859-1?Q?Daniel_Kr=FCgler?= <daniel.kruegler@googlemail.com>
Date: Wed, 7 Sep 2011 09:53:45 -0700 (PDT)
Raw View
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



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