Flex Ferrum
Flex Ferrum
> Note to self: Ask Martin to have the whole `nonstd` exceptions free. Because of nonstd::optional_lite also has an issues with compilation without exceptions enabled.
According to this issue: https://github.com/jinja2cpp/Jinja2Cpp/issues/157 For now, nonstd::expected_lite has got no copy-constructor: ``` home/travis/build/jinja2cpp/examples-build/thirdparty/Jinja2Cpp/src/statements.cpp:426:6: required from here /home/travis/build/jinja2cpp/examples-build/thirdparty/variant-lite/include/nonstd/variant.hpp:1915:17: error: use of deleted function ‘nonstd::expected_lite::expected::expected(const nonstd::expected_lite::expected&)’ return v(arg); ``` But current...
The possible solution looks like this: https://godbolt.org/z/sbB4PL I. e. move moveable/copyable traits handling to the `storage_t` class via additional template params and partial specialization. In this case `expected_t` will inherit...
The problem with the current implementation is perfectly described here: https://stackoverflow.com/questions/27073082/conditionally-disabling-a-copy-constructor (in the question)
Could you provide more detailed sample of the problem which I can add to C++/Python tests as-is?
I see a least one issue here. There is no user-callable 'items' in nlohmann::json reflection. I suppose, you need to replace `dict_item.items()` with `dict_item` in your sample. What the result...
Ok. Thanks! I'll check it out.
Thanks. :) In wrost case I hide it under the compatibility mode flag. :)
Yes, exactly. Thanks! But before you start, lets discuss the exact set of methods to implement.
> For my personal dev, I will add a Dockerfile for compilation, do you want it too ? I'm using Windows environment for development so Docker isn't my choice...