August 05, 2012 [phobos] [D-Programming-Language/phobos] f03049: Fix for opAssign(T) | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: f0304974e83dc45ed2b4ca757416c9a0bef847bf https://github.com/D-Programming-Language/phobos/commit/f0304974e83dc45ed2b4ca757416c9a0bef847bf Author: monarchdodra <monarchdodra@gmail.com> Date: 2012-07-26 (Thu, 26 Jul 2012) Changed paths: M std/typecons.d Log Message: ----------- Fix for opAssign(T) This either: *Asserts if autoInit==No and not initialized (instead of doing an access violation) *EnsuresInitialized if autoInit==Yes Uses "move(a, b)" instead of "b = move(a)" for slightly increased performance Commit: 2296401172dc16a46bc3095e25c667e4ed91c887 https://github.com/D-Programming-Language/phobos/commit/2296401172dc16a46bc3095e25c667e4ed91c887 Author: Andrei Alexandrescu <andrei@erdani.com> Date: 2012-08-05 (Sun, 05 Aug 2012) Changed paths: M std/typecons.d Log Message: ----------- Merge pull request #724 from monarchdodra/RefCounted Small fix for opAssign(T) Compare: https://github.com/D-Programming-Language/phobos/compare/a3b34c7c41c0...2296401172dc |
Copyright © 1999-2021 by the D Language Foundation