Boost logo

Boost Users :

Subject: Re: [Boost-users] ptrdiff_t
From: John Maddock (boost.regex_at_[hidden])
Date: 2010-06-23 10:20:45


> I've check crtdefs.h on my system . It defined ptrdiff_t here but not
> under std namespace . Is the right place that ptrdiff_t got defined ?
> If not in which file should ptrdiff_t be defined . Maybe I should
> search the file where size_t got defined ?
> thanks in advance

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