Well, Joe, you've picked some of the ugliest code to dig into! :)
I'm going to take some extra time and review this carefully. There are a couple things I'm concerned about and want to double-check with my C++ standards books to verify.
Namely:
1) There are a couple places where I see uint32_t being used where I believe ptr_diff_t is appropriate.
2) static_cast<short unsigned int>() should be static_cast<uint16_t>() ?
3) static_cast<unsigned long>() should be static_cast<uint32_t>() ?
Anyway, I just want to make sure, so there may be a bit of a delay on this, ok?
Well, Joe, you've picked some of the ugliest code to dig into! :)
I'm going to take some extra time and review this carefully. There are a couple things I'm concerned about and want to double-check with my C++ standards books to verify.
Namely:
1) There are a couple places where I see uint32_t being used where I believe ptr_diff_t is appropriate.
2) static_cast<short unsigned int>() should be static_ cast<uint16_ t>() ?
3) static_ cast<unsigned long>() should be static_ cast<uint32_ t>() ?
Anyway, I just want to make sure, so there may be a bit of a delay on this, ok?
Thanks for your patience!
Jay