This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: std::complex overloads in wrong namespace?
John Maddock wrote:
The overloads for the complex number algorithms: arg, norm etc in
section 8.9.1 of the TR are in namespace std::tr1, but my reading of
the text suggests they should be in the same namespace as the original
(C++03 versions) of those functions: ie in namespace std?
This is essentially related to the other issue. We decided at some point
to have things split in a well defined way: the new tr1 material belongs
to <tr1/...> headers, which, in turn, add stuff to the std::tr1
namespace. I agree that strictly speaking this is not really correct, I
didn't realize that fully at the time, but I don't think we are going to
change that now, we consider tr1 in pure maintainance-only mode, its
essentially frozen.
Paolo.