You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to use CxxWrap's std::vector support for std::unique_ptrs fails with compilation errors. For example attempting to compile jlcxx::stl::apply_stl<std::unique_ptr<std::string>>(mod); results in:
bazel-out/darwin_arm64-opt/bin/external/libcxxwrap_julia/_virtual_includes/headers/jlcxx/stl.hpp:108:88: error: object of type 'std::vector<std::unique_ptr<std::string>>::value_type' (aka 'std::unique_ptr<std::string>') cannot be assigned because its copy assignment operator is implicitly deleted
wrapped.method("cxxsetindex!", [] (WrappedT& v, const T& val, cxxint_t i) { v[i-1] = val; });
The text was updated successfully, but these errors were encountered:
Attempting to use CxxWrap's
std::vector
support forstd::unique_ptr
s fails with compilation errors. For example attempting to compilejlcxx::stl::apply_stl<std::unique_ptr<std::string>>(mod);
results in:The text was updated successfully, but these errors were encountered: