igoloe

Results 6 comments of igoloe

Did you found any fix, that might be incorporated into a release? There are a lot of issues open regarding zip_view and move only types. If zip_view and others would...

I think @karzhenkov already pointed out that lifetime prolongation for temporaries along std::forward_as_tuple is not guaranteed. Aint this the same problem category like using std::move to a local var in...

@nlohmann as far as i understand it, it is not a problem of the library. I think its possible to build an artifical reproduction scenario with custom types. For strings...

It can easily be confirmed for clang 12.0 (debug, c++17) with nlohmann::json ver trunk on godbolt, if applying `const&` to the source object ```cpp nlohmann::json j{}; auto const& cref{j}; std::tuple...

So the problem is `json_with_ref` is dangling after construction ?

Agreed. It should not be a template, but the char type is configurable via a define, so you either build with char -- and have the luck not to be...