March 31st, 2012 07:08 AM
I was thinking more about it, and if the function that gets that const shared_ptr<T>& as argument wants to store it somewhere for future use it is absolutely legal, as the stored copy will get its...
March 30th, 2012 01:47 AM
Lindley, sure, I will yet check out which is actually faster with some benchmark. It is really interesting question. Btw, even if they will tie on single-threaded test in multi-threaded reference to...
March 29th, 2012 09:01 AM
I was playing with PVS-Studio static analysis tool recently, and it suggested me to replace passing of const std::shared_ptr<type> arg to const std::shared_ptr<type>& arg.
I perfectly understand...
December 22nd, 2009 06:36 AM
We need to develop WDDM 1.1 virtual display driver, and looking for some sample to start with.
Did anyone have a working sample?