Someone familiar with C++ would expect == between vectors to be an elementwise comparison. Code: --- void main() { import core.stdcpp.vector : vector; // Currently only supported on 64-bit Windows. vector!int a = [1, 2, 3]; vector!int b = a; assert(a == b); // Fails. } ---
@n8sh created dlang/druntime pull request #3255 "Fix - core.stdcpp.vector.vector does not implement opEquals" fixing this issue: - Fix Issue 21346 - core.stdcpp.vector.vector does not implement opEquals https://github.com/dlang/druntime/pull/3255
dlang/druntime pull request #3255 "Fix - core.stdcpp.vector.vector does not implement opEquals" was merged into stable: - b65703e477344e5702f5eaa3897a4a99cb1700be by Nathan Sashihara: Fix Issue 21346 - core.stdcpp.vector.vector does not implement opEquals https://github.com/dlang/druntime/pull/3255
dlang/druntime pull request #3269 "merge stable" was merged into master: - 5c31195233480ed1c8a00ea4aaa1c50d042d4b49 by Nathan Sashihara: Fix Issue 21346 - core.stdcpp.vector.vector does not implement opEquals https://github.com/dlang/druntime/pull/3269