dervish_candela: (Dervish)
[personal profile] dervish_candela
https://herbsutter.com/2013/06/05/gotw-91-solution-smart-pointer-parameters/
Herb Sutter
семантика различных видов передачи хозяйственного указывателя (*, &, unique_ptr, shared_ptr, etc)

http://scottmeyers.blogspot.ru/2014/07/should-move-only-types-ever-be-passed.html
Scott Meyers
unique_ptr by value vs all sink parameters by rvalue

http://stackoverflow.com/questions/24814696/move-semantics-and-function-order-evaluation
passing unique_ptr sink by value vs rvalue
guaranteed order of initialization of braced-init-list
using constructor delegates

http://web.archive.org/web/20140113221447/http://cpp-next.com/archive/2009/08/want-speed-pass-by-value/
Dave Abrahams
та самая статья

http://stackoverflow.com/questions/27021698/moving-stdfunction-into-another-stdfunction-does-not-invoke-move-constructor
yo dawg
so we moved std::finction into std::function

Andrzej's C++
https://akrzemi1.wordpress.com/2011/06/27/unique-ownership-shared-ownership/
обзор идей владения

https://akrzemi1.wordpress.com/2011/08/30/move-constructor-qa/
когда нужен move constructor?

http://stackoverflow.com/questions/17098407/when-are-implicit-move-constructors-not-good-enough
«Another valid reason for providing your move constructor if you want to enable your type that is non-copyable (because it is RAII-like and represents a resource) to be still passed by value where copying is not required, and stored in STL containers.»

April 2017

S M T W T F S
       1
234 5678
9101112131415
16171819202122
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 23rd, 2017 09:23 am
Powered by Dreamwidth Studios