Bug 21344 – core.stdcpp.string.basic_string does not implement opEquals

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2020-10-27T21:11:31Z
Last change time
2020-11-13T02:54:07Z
Keywords
pull
Assigned to
No Owner
Creator
Nathan S.

Comments

Comment #0 by n8sh.secondary — 2020-10-27T21:11:31Z
Example code: --- void main() { import core.stdcpp.string : basic_string; char[64] buffer = 'a'; // Make this long enough that short string optimization is not applied. auto s1 = basic_string!char(buffer[]); auto s2 = basic_string!char(buffer[]); assert(s1 == s2); // This assertion fails. } ---
Comment #1 by dlang-bot — 2020-10-27T21:56:40Z
@n8sh updated dlang/druntime pull request #3254 "Fix - core.stdcpp.string.basic_string does not implement opEquals" fixing this issue: - Fix Issue 21344 - core.stdcpp.string.basic_string does not implement opEquals https://github.com/dlang/druntime/pull/3254
Comment #2 by dlang-bot — 2020-11-06T02:56:18Z
dlang/druntime pull request #3254 "Fix - core.stdcpp.string.basic_string does not implement opEquals" was merged into stable: - a99d3d23dd4079d95cb09af334a13dfb86e62b15 by Nathan Sashihara: Fix Issue 21344 - core.stdcpp.string.basic_string does not implement opEquals https://github.com/dlang/druntime/pull/3254
Comment #3 by dlang-bot — 2020-11-13T02:54:07Z
dlang/druntime pull request #3269 "merge stable" was merged into master: - 278daf49afdcd379ba2ebc81f0916ab42e8ef630 by Nathan Sashihara: Fix Issue 21344 - core.stdcpp.string.basic_string does not implement opEquals https://github.com/dlang/druntime/pull/3269