What is the difference between size_t and size_type? size_type seems to be related closely with the C++ Standard String Class. Couldn't they have just used size_t instead? I don't understand the difference. Could anyone elaborate please?
Frederick2 189 Posting Whiz
MosaicFuneral 812 Nearly a Posting Virtuoso
Narue 5,707 Bad Cop Team Colleague
Frederick2 189 Posting Whiz
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.