Looking at vector's header I can see that they provided me with a:
typedef A::reference reference;
But there's no typedef for a pointer to A...
Don't get me wrong I can easily write vector<someting >::value_type *
but it makes me wonder why supplying a typedef for reference
and not for pointer? Any special reasons you know of?
typedef A::reference reference;
But there's no typedef for a pointer to A...
Don't get me wrong I can easily write vector<someting >::value_type *
but it makes me wonder why supplying a typedef for reference
and not for pointer? Any special reasons you know of?
Comment