Hacker News new | comments | show | ask | jobs | submit login

I did that in the C++11 days by creating a bastard class template that would subvert the copy operator and turn it into a move and capture that by value.

It was ugly as heck and was removed as soon as I have c++14




Applications are open for YC Summer 2018

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: