Connecting Tech Pros Worldwide Help | Site Map

size_type requirements

  #1  
Old July 19th, 2005, 06:27 PM
Kevin Goodsell
Guest
 
Posts: n/a
Can someone tell me what is required of the size_type type for standard
containers (and other standard classes defining this type)? Specifically:

1) Are the requirements the same for each container & class?

2) Is it required to have a particular "signed-ness", and if so, which one?

3) Are there required minimum limits for size_type, and if so, what are
they?

4) Is size_type required to be an alias for one of the built-in types?

Thanks.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.

  #2  
Old July 19th, 2005, 06:27 PM
Josh Sebastian
Guest
 
Posts: n/a

re: size_type requirements


On Fri, 12 Sep 2003 22:49:27 +0000, Kevin Goodsell wrote:
[color=blue]
> Can someone tell me what is required of the size_type type for standard
> containers (and other standard classes defining this type)? Specifically:
>
> 1) Are the requirements the same for each container & class?
>
> 2) Is it required to have a particular "signed-ness", and if so, which one?
>
> 3) Are there required minimum limits for size_type, and if so, what are
> they?
>
> 4) Is size_type required to be an alias for one of the built-in types?[/color]

You can look it up for yourself:
http://oscinfo.osc.edu/software/docs...r.requirements

Josh
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why does string.find(x, npos) search from the begining of the string Adrian answers 7 July 12th, 2007 04:35 PM
size_type and size_t Jess answers 3 May 23rd, 2007 09:55 AM
Is it the BUG of VC 7.1 Darkay Li answers 1 July 22nd, 2005 05:28 AM
vector::resize parameters solosnake answers 0 July 22nd, 2005 05:21 AM