A
Andrew
Hello:
Can someone please elaborate on why the member types 'value_type',
'reference', and 'const_reference' are all defined in a standard STL
container. Why not just define
'value_type' and then use 'value_type&' and 'const value_type&'.
Also, if we define these other types, why not define
'const_value_type', etc....
Thanks,
AKH
Can someone please elaborate on why the member types 'value_type',
'reference', and 'const_reference' are all defined in a standard STL
container. Why not just define
'value_type' and then use 'value_type&' and 'const value_type&'.
Also, if we define these other types, why not define
'const_value_type', etc....
Thanks,
AKH