"Modern C++" feels just like Python! What's more Pythonic than map.emplace(std::piecewise_construct, std::forward_as_tuple(a1,a2), std::forward_as_tuple(a3,a4))?!
In Python it's map[Key(a1,a2)] = Value(a3,a4) and you don't need piecewise_construct and forward_as_tuple to avoid object copying. No language needs it except C++
-
-
I can’t belive you actually seriously replied to this clear provocation.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.