Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.c++.moderated    |    Moderated discussion of C++ superhackery    |    33,346 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 32,798 of 33,346    |
|    Bart van Ingen Schenau to All    |
|    Re: C++11 containers    |
|    15 Jan 13 14:01:05    |
      From: bart@ingen.ddns.info.invalid              On Mon, 14 Jan 2013 23:26:10 -0600, fmatthew5876 wrote:              > So my question is when creating our own containers for C++11 is       > there any reason to still write old style insertion functions for a       > container like void push_back(const T& t) or void push_back(T&& t)?              If you want your container to be used with algorithms that (still)       expect the pre-C++11 interface, you don't have much choice.              Bart v Ingen Schenau                     --        [ See http://www.gotw.ca/resources/clcm.htm for info about ]        [ comp.lang.c++.moderated. First time posters: Do this! ]              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca