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
The CxxVector binding on the Rust side specifically refers to std::vector<T>. If you have signatures needing to use const std::vector<T>, that's just some other extern C++ type, which should already work with cxx. Something like:
fn some_type(some_arg: u32) -> UniquePtr<CxxVector<SomeType>>;
but on the C++ side I needed to return
std::unique_ptr<const std::vector<SomeType>>
The text was updated successfully, but these errors were encountered: