Преглед на файлове

Using new trait helper variables.

main
offa преди 7 години
родител
ревизия
ddabea3b88
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +2
    -2
      include/unique_resource.h

+ 2
- 2
include/unique_resource.h Целия файл

@@ -30,8 +30,8 @@ namespace sr
namespace detail
{
template<class T, class TT>
using is_ntmocp_constructible = std::conditional_t<std::is_reference<TT>::value
|| !std::is_nothrow_move_constructible<TT>::value,
using is_ntmocp_constructible = std::conditional_t<std::is_reference_v<TT>
|| !std::is_nothrow_move_constructible_v<TT>,
typename std::is_constructible<T, const TT&>::type,
typename std::is_constructible<T, TT>::type>;


Loading…
Отказ
Запис