Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Moved move, moveEmplace, and forward to core.lifetime.
Browse files Browse the repository at this point in the history
  • Loading branch information
TurkeyMan committed Jan 5, 2019
1 parent 227a925 commit cf5fe64
Show file tree
Hide file tree
Showing 2 changed files with 667 additions and 1 deletion.
3 changes: 2 additions & 1 deletion changelog/emplace.dd
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Moved `std.conv.emplace` to core/lifetime.d
Moved `std.conv.emplace`, `std.algorithm.mutation.move`, std.algorithm.mutation.moveEmplace`, and `std.functional.forward` to core/lifetime.d

`emplace` is the counterpart to `destroy`, so it has been moved to also live in druntime (core/lifetime.d) where it is accessible by projects that use a shallow runtime library stack.
`move`, `moveEmplace`, and `forward` are related low-level construction machinery which also belong in `core.lifetime`.
Loading

0 comments on commit cf5fe64

Please sign in to comment.