Created
April 12, 2018 18:20
-
-
Save loliGothicK/c8611b984c71e3d09ca13651c36fc06f 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
// エラー、SFINAEの文脈でconstexprラムダが使われている | |
template < typename T, | |
bool b = []{ | |
T t;t.func(); | |
return true; | |
}()> | |
void f() { | |
T t; | |
t.func(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment