oh here's an awesome c++ footgun: std::vector foo() { return {MyMoveOnlyType{}};...
follow my onionfans @sjolsen@tech.lgbt
oh here's an awesome c++ footgun:
std::vector<MyMoveOnlyType> foo() {
return {MyMoveOnlyType{}};
}
guess why this doesn't compile