This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: std::is_pod vs std::tr1::is_pod and void type
Paolo Carlini wrote:
> Mateusz Loskot wrote:
>> Hi,
>>
>> I'm calling with is_pod and has_trivial_destructor against void type
>> and depending on which namespace the traits come from, they give
>> different results:
>
> Yes, if you look at N1836, the specifications for the the TR1 features,
> you will see that it mandates true for is_pod<void>, etc. Arguably this
> is a defect, which has been fixed in the ongoing work for the next
> standard, so-called C++0x. In general, we consider TR1 essentially
> frozen at this time and minimally maintained, consider that it was just
> an interim Technical Report.
Paolo, thank you very much for this clarification.
This is exactly I was missing to understand the issue.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org