4 ms·
You should've noticed three things before writing it: 1) His background is C++/Embedded. 2) He does that successfully for a living. 3) He really knows what he's
by ilyak 17y ago
You should've noticed three things before writing it:
1) His background is C++/Embedded.
2) He does that successfully for a living.
3) He really knows what he's talking about.
This leads me to a conclusion: Maybe the subject of your last phrase is YOU?
- wynand 17y agoThe parent is right about the copy elision part (http://en.wikipedia.org/wiki/Return_value_optimization http://en.wikipedia.org/wiki/Return_value_optimization). GCC definitely performs this and I'm sure that it's true of other widely used C++ compilers. I also don't know what yosefk means when he says that smart pointers rely on defective meta-programming techniques. The implementation of Boost's smart_ptr doesn't seem too esoteric to me.
- shin_lao 17y agoMore information about copy elision here: http://cpp-next.com/archive/2009/08/want-speed-pass-by-value/ http://cpp-next.com/archive/2009/08/want-speed-pass-by-value...
- deleted 17y ago[deleted]
- chancho 17y agoSo is this how "appeal to authority" works in language pissing contests? The "authority" is money? "I make money using this language so blah blah blah QED."
- ilyak 17y agoNo, this is how refutations to "he doesn't know anything" work.