1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

workaround for ICC 15

This commit is contained in:
bolero-MURAKAMI 2015-05-08 20:11:30 +09:00
parent 1cb62e6250
commit 755ebf4311
7 changed files with 41 additions and 7 deletions

View file

@ -70,7 +70,8 @@ namespace sprout {
SPROUT_CONSTEXPR boolean_flag() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
boolean_flag(boolean_flag const&) = default;
SPROUT_CONSTEXPR boolean_flag(bool flag)
: flag_(flag)
: sprout::integral_constant<sprout::io::flags::fmtflags, Flag>()
, flag_(flag)
{}
SPROUT_CONSTEXPR boolean_flag operator()(bool flag) const {
return boolean_flag(flag);