|
|
|
|
|
by DLoupe
279 days ago
|
|
> I wonder what you are doing to get yourself in that situation. The problem with the current move semantics is that, compared to e.g. Rust: 1) the compiler generates unnecessary code and 2) instead of just implementing class T you must implement a kind of optional<T>. Which means, that after all those years of using smart pointers I find myself ditching them in favor of plain pointers like we did in the 90's. |
|