aboutsummaryrefslogtreecommitdiff
path: root/src/cxx.cc
AgeCommit message (Expand)Author
2023-08-29Remove unique_ptr from name of std::vector<>::new symbolDavid Tolnay
2023-08-25Add CxxVector::new for creating an empty vectorCameron Pickett
2023-07-07Remove usage of std::cerrLoveSy
2023-06-14Fix #1225Bill Avery
2023-01-26Fix memory leak inside the move assignment operator of rust::Error classVladimir Bayrashevskiy
2022-10-15Mark rust::detail::Fail constructor noexceptDavid Tolnay
2022-10-15Allow trycatch to call Fail using std::stringDavid Tolnay
2022-10-15Fix incorrect string len if an exception's message is invalid UTF-8David Tolnay
2022-10-15Factor out the Fail lambda from all trycatch callsDavid Tolnay
2021-12-31Assert that incoming char16_t* are sufficiently alignedDavid Tolnay
2021-12-31Touch up PR 984David Tolnay
2021-12-31Implement rust::Vec clear in terms of truncate(0)David Tolnay
2021-12-31Merge pull request #984 from benesch/lossyDavid Tolnay
2021-12-27Add String::lossy constructors to C++ APINikhil Benesch
2021-12-26Add Vec<T>::truncate to C++ APINikhil Benesch
2021-12-08Touch up PR 951David Tolnay
2021-10-29Expose Rust's Vec<T>::clear() method.Johan Verwey
2021-08-27Expose reserve on CxxStringDavid Tolnay
2021-08-27Expose capacity and reserve on rust::StringDavid Tolnay
2021-08-27Consistently use new_cap in signatures of reserve_totalDavid Tolnay
2021-08-27Fix over-reserve in rust::String::c_strDavid Tolnay
2021-08-12Add CxxString::clear methodDavid Tolnay
2021-08-03Added UTF-16 rust::String initializationGerhard de Clercq
2021-04-28Add 'bool empty() const noexcept' to Str, StringDavid Tolnay
2021-04-16Add CxxVector::pop in RustDavid Tolnay
2021-04-16Add CxxVector::push in RustDavid Tolnay
2021-03-22Update C++ formatting to clang-format 11David Tolnay
2021-03-22Format PR 714 with clang-format 10David Tolnay
2021-02-11Disallow assignment to rvalueDavid Tolnay
2021-02-11Remove this != &other checks from move assignment operatorsDavid Tolnay
2021-02-08Add a specialization of Vec methods for macOSDavid Tolnay
2021-01-03Implement Vec<&str>David Tolnay
2021-01-02Allow through bad_alloc from Error(const Error &) and operator=David Tolnay
2021-01-02Resolve msvc warning on strncpy by replacing with memcpyDavid Tolnay
2021-01-02Silence -Wunused-private-field warning on macOSDavid Tolnay
2021-01-02Mark error conversion function noexceptDavid Tolnay
2021-01-02Preserve &[T]'s Rust representation in rust::SliceDavid Tolnay
2021-01-02Restore swapping Str and Slice in member function form onlyDavid Tolnay
2021-01-02Preserve &str's original Rust representation in C++David Tolnay
2021-01-02Move swap member functions below less-niche functionsDavid Tolnay
2021-01-02Remove Str and Slice swapsDavid Tolnay
2021-01-02Format PR 642 with clang-format 10David Tolnay
2021-01-02Add swap members + ADL functionsCameron Pickett
2020-12-28Add upgrade conversion from WeakPtr to SharedPtrDavid Tolnay
2020-12-28Add downgrade conversion from SharedPtr to WeakPtrDavid Tolnay
2020-12-28Add Rust std::weak_ptr bindingDavid Tolnay
2020-12-28Add SharedPtr<bool>David Tolnay
2020-12-27Eliminate Vec stride symbol in favor of size_ofDavid Tolnay
2020-12-21Add mutable indexing for CxxVectorDavid Tolnay
2020-12-21Add debug assertions to some Vec indexingDavid Tolnay