23 Jun
2010
23 Jun
'10
2:20 p.m.
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.