Skip to content

Instantly share code, notes, and snippets.

@kalman5
Last active January 24, 2020 21:29
Show Gist options
  • Select an option

  • Save kalman5/ec5dc4f1452389439cbf2d8bb9c5d5eb to your computer and use it in GitHub Desktop.

Select an option

Save kalman5/ec5dc4f1452389439cbf2d8bb9c5d5eb to your computer and use it in GitHub Desktop.
double a = 1.1;
double b = 2.2;
[&a, &b](){
std::cout << "a: " << a << " - b: " << b << "\n";
}();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment