[phobos] [D-Programming-Language/phobos] f03049: Fix for opAssign(T)
GitHub
noreply at github.com
Sun Aug 5 19:30:25 PDT 2012
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 at 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 at 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
More information about the phobos
mailing list