On Apr 10, 5:48*pm, Barry <dhb2...@gmail.com> wrote:
> On Apr 10, 10:20*pm, ManicQin <Manic...@gmail.com> wrote:
>
> > 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?
>
> C++03 has "pointer" typedef.
>
> What's implementation you checked out?
>
> Here I check out sgi, it has "pointer"
> VC2005, it has
You're right, The first time I checked in VS6 but after your post I
checked my VS Express and found it.
Thanks.
|