Boost logo

Boost Users :

Subject: Re: [Boost-users] ptrdiff_t
From: yushang (yusunn_at_[hidden])
Date: 2010-06-23 22:35:24


Hi John,
Thanks for your tips . I searched my system directory , found 2 cstddef files ,
one is in my VC directory and one is in boost compatibility directory
. The latter do import ptrdiff_t into std namespace . It seems boost
include the former . Should I copy boost's cstddef to my VC directory
? BTW I'm using WDK (Windows Driver Kit) , C compiler version is 15.00
and not ran bootstrap.bat ever.
Many thanks
>
> This makes no sense to me, which VC++ version are you using, and what
> compiler options?  Boost.Array works just fine for me under VC++ and always
> has.
>
> FYI, ptrdiff_t is defined in crtdefs.h and then imported into namespace std
> in cstddef - at least it is in VC9.
>
> John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net