The Case Against int, Part 3: The Advantages and Perils of Unsigned Arithmetic

C++ defines an unsigned integer type, size_t, that is well-suited to storing array indices, or otherwise counting items that can fit in the computer's memory.


March 07, 2012
URL:http://www.drdobbs.com/cpp/the-case-against-int-part-3-the-advantag/232602212

Terms of Service | Privacy Statement | Copyright © 2024 UBM Tech, All rights reserved.