lysdexic@programming.devM to C++@programming.devEnglish · 1 year agoOn harmful overuse of std::move - The Old New Thingdevblogs.microsoft.comexternal-linkmessage-square11fedilinkarrow-up114arrow-down11
arrow-up113arrow-down1external-linkOn harmful overuse of std::move - The Old New Thingdevblogs.microsoft.comlysdexic@programming.devM to C++@programming.devEnglish · 1 year agomessage-square11fedilink
minus-squareFlorian Xaver@mastodon.sociallinkfedilinkarrow-up1·1 year ago@BatmanAoD @Miaou It is just what you are used to. In C++ everything is a copy. Sometimes the compiler optimizes it away. clang-tidy may help. Having a clone() is very C-like.
…which is also explicit.
@BatmanAoD @Miaou It is just what you are used to.
In C++ everything is a copy. Sometimes the compiler optimizes it away. clang-tidy may help. Having a clone() is very C-like.