▲ | nurettin 4 days ago | |
This is a failed attempt at muddying the waters. You don't know what move semantics is? You go learn what they are. Best/simplest way is to just disable your copy ctor. You need to know the operator overload semantics for a particular use case? It is not exactly hidden lore, there are even man pages (libstdc++-doc, man 3 std::ostream) or just use std::println. You are stuck instantiating std::vector? Then you will be stuck in any language anyway. | ||
▲ | pod_krad 10 hours ago | parent [-] | |
It seems you didn't get the point. Why spending my time for learning those things, if in another language you may perfectly live without them? |