Explorar el Código

Type requirements of unique_resource of move assignment operator fixed.

main
offa hace 7 años
padre
commit
bfdcd3c0a8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      include/unique_resource.h

+ 1
- 1
include/unique_resource.h Ver fichero

@@ -238,7 +238,7 @@ namespace sr
template<class RR = R, class DD = D,
std::enable_if_t<(std::is_nothrow_move_assignable<RR>::value
|| std::is_nothrow_copy_assignable<RR>::value)
&& (std::is_nothrow_copy_assignable<DD>::value
&& (std::is_nothrow_move_assignable<DD>::value
|| std::is_nothrow_copy_assignable<DD>::value), int> = 0
>
unique_resource& operator=(unique_resource&& other)

Cargando…
Cancelar
Guardar