mirror of
https://github.com/marzer/tomlplusplus.git
synced 2024-09-15 15:13:21 +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])
|
static_cast<node_ref>(static_cast<Array&&>(arr)[i])
|
||||||
.visit(
|
.visit(
|
||||||
[&](auto&& elem)
|
[&](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)>)
|
noexcept(for_each_is_nothrow_one<Func&&, Array&&, decltype(elem)>)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
@ -900,7 +900,7 @@ TOML_NAMESPACE_START
|
|||||||
static_cast<node_ref>(*kvp.second)
|
static_cast<node_ref>(*kvp.second)
|
||||||
.visit(
|
.visit(
|
||||||
[&](auto&& v)
|
[&](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)>)
|
noexcept(for_each_is_nothrow_one<Func&&, Table&&, decltype(v)>)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
4
toml.hpp
4
toml.hpp
@ -5650,7 +5650,7 @@ TOML_NAMESPACE_START
|
|||||||
static_cast<node_ref>(static_cast<Array&&>(arr)[i])
|
static_cast<node_ref>(static_cast<Array&&>(arr)[i])
|
||||||
.visit(
|
.visit(
|
||||||
[&](auto&& elem)
|
[&](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)>)
|
noexcept(for_each_is_nothrow_one<Func&&, Array&&, decltype(elem)>)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
@ -6963,7 +6963,7 @@ TOML_NAMESPACE_START
|
|||||||
static_cast<node_ref>(*kvp.second)
|
static_cast<node_ref>(*kvp.second)
|
||||||
.visit(
|
.visit(
|
||||||
[&](auto&& v)
|
[&](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)>)
|
noexcept(for_each_is_nothrow_one<Func&&, Table&&, decltype(v)>)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user