mirror of
https://github.com/marzer/tomlplusplus.git
synced 2024-09-04 05:59:37 +00:00
MSVC used "Emotional Damage". It's super effective!
This commit is contained in:
parent
9e9b44dc14
commit
e55ac0288f
@ -888,7 +888,7 @@ TOML_NAMESPACE_START
|
||||
static_cast<node_ref>(static_cast<Array&&>(arr)[i])
|
||||
.visit(
|
||||
[&](auto&& elem)
|
||||
#if !TOML_MSVC || TOML_MSVC >= 1932 // older MSVC thinks this is invalid syntax O_o
|
||||
#if !TOML_MSVC // MSVC thinks this is invalid syntax O_o
|
||||
noexcept(for_each_is_nothrow_one<Func&&, Array&&, decltype(elem)>)
|
||||
#endif
|
||||
{
|
||||
|
@ -900,7 +900,7 @@ TOML_NAMESPACE_START
|
||||
static_cast<node_ref>(*kvp.second)
|
||||
.visit(
|
||||
[&](auto&& v)
|
||||
#if !TOML_MSVC || TOML_MSVC >= 1932 // older MSVC thinks this is invalid syntax O_o
|
||||
#if !TOML_MSVC // MSVC thinks this is invalid syntax O_o
|
||||
noexcept(for_each_is_nothrow_one<Func&&, Table&&, decltype(v)>)
|
||||
#endif
|
||||
{
|
||||
|
4
toml.hpp
4
toml.hpp
@ -5650,7 +5650,7 @@ TOML_NAMESPACE_START
|
||||
static_cast<node_ref>(static_cast<Array&&>(arr)[i])
|
||||
.visit(
|
||||
[&](auto&& elem)
|
||||
#if !TOML_MSVC || TOML_MSVC >= 1932 // older MSVC thinks this is invalid syntax O_o
|
||||
#if !TOML_MSVC // MSVC thinks this is invalid syntax O_o
|
||||
noexcept(for_each_is_nothrow_one<Func&&, Array&&, decltype(elem)>)
|
||||
#endif
|
||||
{
|
||||
@ -6963,7 +6963,7 @@ TOML_NAMESPACE_START
|
||||
static_cast<node_ref>(*kvp.second)
|
||||
.visit(
|
||||
[&](auto&& v)
|
||||
#if !TOML_MSVC || TOML_MSVC >= 1932 // older MSVC thinks this is invalid syntax O_o
|
||||
#if !TOML_MSVC // MSVC thinks this is invalid syntax O_o
|
||||
noexcept(for_each_is_nothrow_one<Func&&, Table&&, decltype(v)>)
|
||||
#endif
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user