Boost logo

Boost :

Subject: Re: [boost] [exception][mpl] Boost.Exception uses unqualified size_t
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2009-11-14 23:33:31


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


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