This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]