Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ > Lack of pointer...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 44622 of 48022
Post > Topic >>

Lack of pointer Typedef in STL container

by ManicQin <ManicQin@[EMAIL PROTECTED] > Apr 10, 2008 at 07:20 AM

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?
 




 4 Posts in Topic:
Lack of pointer Typedef in STL container
ManicQin <ManicQin@[EM  2008-04-10 07:20:56 
Re: Lack of pointer Typedef in STL container
"Victor Bazarov"  2008-04-10 10:56:06 
Re: Lack of pointer Typedef in STL container
Barry <dhb2000@[EMAIL   2008-04-10 08:48:01 
Re: Lack of pointer Typedef in STL container
ManicQin <ManicQin@[EM  2008-04-10 09:04:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 14 11:35:51 CDT 2008.