'Need help figuring out data type of declaration in C++ [duplicate]
I am following this tutorial. The following declaration found in main.cc has me stumped:
auto say_hello = [](const HttpRequest& request) -> HttpResponse {...}
This is shown in the debugging window, but I don't quite get what it is. What is the data type represented by this auto keyword? What is the data type created by the square brackets after the equal sign? I suppose HttpResponse is not the return type of say_hello?
Thank you so much!!!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

