-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add move semantics to image class (#457)
Since we do not require C++17 yet with its `if constexpr that would discard instantiation of allocator's `operator=` when the statement is not active, we have to use the tag dispatching with appropriate used of `propagate_on_container_move_assignment` and rebound `allocator_type` to choose the POCMA. Minor coding style fixes.
- Loading branch information
Showing
2 changed files
with
156 additions
and
16 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
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