struct_mapping icon indicating copy to clipboard operation
struct_mapping copied to clipboard

Only to say that...

Open paulocoutinhox opened this issue 4 years ago • 3 comments

Only to say that this is a nice library!!!

It can be compatible with c++ 11?

Thanks.

paulocoutinhox avatar Jul 24 '20 18:07 paulocoutinhox

Unfortunately c++17 is required. This is needed for 'static inline'(this is a header-only library) and 'if constexpr'

bk192077 avatar Jul 25 '20 06:07 bk192077

If I step down in VS 2019 to "Platform Toolset: Visual Studio 2017 (v141)" while using /std:c++17, I get cast to function type is illegal at using Init = void();. I failed playing/googling around (not being to deep in latest c++ stuff anymore) - could that be worked around?

sven-plastwich avatar Feb 19 '21 10:02 sven-plastwich

If I step down in VS 2019 to "Platform Toolset: Visual Studio 2017 (v141)" while using /std:c++17, I get cast to function type is illegal at using Init = void();. I failed playing/googling around (not being to deep in latest c++ stuff anymore) - could that be worked around?

sorry, I hate asking questions and come up with a solution myself (leave it here as comment): /Zc:twoPhase- did the trick

sven-plastwich avatar Feb 19 '21 10:02 sven-plastwich