Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use assert instead of enforce for moveAll
- it's a programming error to call the function w/o knowing if tgt can accomodate all of src - for cases where it cannot be known in advance there is moveSome which will stop when either range is exhausted - allows to make moveAll nothrow @nogc depending on the destructor of T
- Loading branch information
1 parent
605fed6
commit 81ca4a8
Showing
1 changed file
with
16 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters