Re: [boost] lexical_cast update + Boost.Test question

The latest update of lexical_cat introduced a trivial bug, shown for instance at http://tinyurl.com/c9b8s. I'll be commiting the attached patch later today, if no one objects (or commits it first.) Thank you, Joaquín M López Muñoz Telefónica, Investigación y Desarrollo 16a17
#include <cstddef> 196c197 < template<class T, size_t N>
template<class T, std::size_t N>

From: "Joaquín Mª López Muñoz" <joaquin@tid.es>
The latest update of lexical_cat introduced a trivial bug, shown for instance at http://tinyurl.com/c9b8s.
I'll be commiting the attached patch later today, if no one objects (or commits it first.)
Thanks for fixing this. It didn't show up in the lexical_cast unit test, obviously because some other file included this header. From what I understand, size_t is also available in the global namespace, even when <cstddef> (rather than <stddef.h>) is used, which is why it was used unqualified in the code, but of course, the header should have been included. Regards, Terje ---------------------------------------------------------------------------- ----
16a17
#include <cstddef> 196c197 < template<class T, size_t N>
template<class T, std::size_t N>
---------------------------------------------------------------------------- ----
participants (2)
-
Joaquín Mª López Muñoz
-
Terje Slettebø