oh here's an awesome c++ footgun: std::vector foo() { return {MyMoveOnlyType{}};...

@sjolsen@tech.lgbt

oh here's an awesome c++ footgun:

std::vector<MyMoveOnlyType> foo() {
return {MyMoveOnlyType{}};
}

guess why this doesn't compile