Browse Source

Formatting fixed.

main
offa 5 years ago
parent
commit
ce1944130c
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      include/unique_resource.h

+ 1
- 2
include/unique_resource.h View File

std::enable_if_t<(std::is_nothrow_move_assignable_v<RR> std::enable_if_t<(std::is_nothrow_move_assignable_v<RR>
|| std::is_nothrow_copy_assignable_v<RR>) || std::is_nothrow_copy_assignable_v<RR>)
&& (std::is_nothrow_move_assignable_v<DD> && (std::is_nothrow_move_assignable_v<DD>
|| std::is_nothrow_copy_assignable_v<DD>), int> = 0
>
|| std::is_nothrow_copy_assignable_v<DD>), int> = 0>
unique_resource& operator=(unique_resource&& other) noexcept(std::is_nothrow_assignable_v<R&, R> unique_resource& operator=(unique_resource&& other) noexcept(std::is_nothrow_assignable_v<R&, R>
&& std::is_nothrow_assignable_v<D&, D>) && std::is_nothrow_assignable_v<D&, D>)
{ {

Loading…
Cancel
Save