Releases: dtolnay/cxx
Releases · dtolnay/cxx
1.0.16
1.0.15
1.0.14
- Support Vec<T> where T is a shared struct from a different bridge module (#535)
- Support explicit impls
impl Vec<T> {}
andimpl Box<T> {}
(#542, #555) - Fix missing imports when generating C++
std::hash
template specialization via#[derive(Hash)]
(#556, #557) - Respect class-specific member
operator new
in the implementation of UniquePtr::new (#553) - Support reuse of non-POD shared types by value across bridge modules (#551, #559, #560)
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
-
Support
derive(PartialOrd, Ord)
on shared enums -
Add non-const indexing overloads for
rust::Vec<T>
in C++: https://cxx.rs/binding/vec.htmlconst T &operator[](size_t n) const noexcept; const T &at(size_t n) const; const T &front() const; const T &back() const; + T &operator[](size_t n) noexcept; + T &at(size_t n); + T &front(); + T &back();