람다 캡처 자리에 아예 새 변수를 정의하는 방법

  • https://www.learncpp.com/cpp-tutorial/lambda-captures/
[userArea {width * height}](){};