Open flexferrum opened 6 years ago
Looks like my fault. Haven't updated my fork for month and a half. Updated version compiles pretty well.
Yet I think the mechanism for selection of std::in_place or non::std in_place in nonstd::any, optional, variant and value_ptr can be inproved in the face of C++17 and later.
The simple source:
It fails to compile with MSVS 2017 (19.15.26732.1 x64) either with 14th or 17th standard set. If I swap includes of
value_ptr.hpp
andvariant.hpp
everything goes fine. The similar bug is here: https://onedrive.live.com/?authkey=%21AMtLKi_uWVjLFbM&cid=ECB37B93BA908BCE&id=ECB37B93BA908BCE%2116696&parId=root&o=OneUp (line 2356).Came from this discussion: https://github.com/flexferrum/Jinja2Cpp/issues/80