Boost logo

Boost :

Subject: Re: [boost] [exception][mpl] Boost.Exception uses unqualified size_t
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2009-11-15 23:03:25


Thanks Emil!

Regards Hartmut

-------------------
Meet me at BoostCon
http://boostcon.com

> -----Original Message-----
> From: boost-bounces_at_[hidden] [mailto:boost-
> bounces_at_[hidden]] On Behalf Of Emil Dotchevski
> Sent: Saturday, November 14, 2009 10:34 PM
> To: boost_at_[hidden]
> Subject: Re: [boost] [exception][mpl] Boost.Exception uses unqualified
> size_t
>
> On Sat, Nov 14, 2009 at 5:45 PM, Hartmut Kaiser
> <hartmut.kaiser_at_[hidden]> wrote:
> >
> > The Boost.Exception library uses size_t without any qualification,
> which
> > leads to unexpected ADL problems related to mpl::size_t.
>
> This was a bug in exception/object_hex_dump.hpp because it used
> unqualified size_t without #including <stdlib.h>. The use of size_t is
> now qualified, see trunk revision 57668.
>
> I suspect however that we would have had the same issue even if
> object_hex_dump.hpp did #include <stdlib.h>. Isn't it too risky for
> mpl to define its own size_t?
>
> Emil Dotchevski
> Reverge Studios, Inc.
> http://www.revergestudios.com/reblog/index.php?n=ReCode
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk