Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use const references to extend lifetime of temporaries #847
What platform/OS are you using?
Linux Ubuntu 17.10
What compiler are you using? what version?
gcc version 7.2.0 (Ubuntu 7.2.0-8ubuntu3.2)
Despite the suggestion to use std::move, I believe the fix is:
Note that using