Groups
Groups
Sign in
Groups
Groups
BBTcollege
Conversations
About
Send feedback
Help
std::auto_ptr is still available, but it is deprecated under C++11.
6 views
Skip to first unread message
Songbo Du
unread,
Dec 2, 2011, 11:07:31 PM
12/2/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bbtco...@googlegroups.com
Hi All,
Teacher Zhao just talked about auto_ptr. Here I am gonna to share a little bit more.
http://en.wikipedia.org/wiki/Smart_pointer
--
Best Regards,
Du, Songbo
tonyguo2010
unread,
Dec 2, 2011, 11:35:30 PM
12/2/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bbtcollege
这充分说明STL的一大罪状,写多了STL,手会烂的。。。
2011-12-03
tonyguo2010
发件人:
Songbo Du
发送时间:
2011-12-03 12:07:57
收件人:
bbtcollege
抄送:
主题:
std::auto_ptr_is_still_available,_but_it_is_deprecated_under_C++11.
Daniel wu
unread,
Dec 3, 2011, 12:05:29 AM
12/3/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bbtco...@googlegroups.com
Thanks.
Actually, auto_ptr is suggested to be replace with shared_ptr in the the book, effective c++.
Songbo Du
unread,
Dec 3, 2011, 12:37:24 AM
12/3/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bbtco...@googlegroups.com
Yes, you are right. Here, it is pointed out clearly. It adds
unique_ptr, shared_ptr and weak_ptr.
Peisheng YE
unread,
Dec 4, 2011, 10:57:03 PM
12/4/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bbtco...@googlegroups.com
我晕。
看不懂,讨论这个都是高手。
Reply all
Reply to author
Forward
0 new messages