Created
April 12, 2018 18:17
-
-
Save loliGothicK/98aeaefb71d006fc3a09902fd7ed0e3c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main(){ | |
// ラムダ式にconstexprをつけることができる | |
auto f1 = []() constexpr {}; | |
// OK | |
auto f2 = []() mutable constexpr {}; | |
// これもOK | |
auto f3 = []() constexpr mutable {}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment