Skip to content

Instantly share code, notes, and snippets.


jitpaul/Lambdas2 Secret

Last active April 26, 2018 07:23
What would you like to do?
#include <memory>
using namespace std;
int main(){
unique_ptr<int> a(new int);
auto func = [b=move(a)](){};
return 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment