File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ template <typename T, size_t N> struct intrinsic_type<T[N]> { typedef type
247
247
/* * \brief SFINAE helper class to check if a copy constructor is usable (in contrast to
248
248
* std::is_copy_constructible, this class also checks if the 'new' operator is accessible */
249
249
template <typename T> struct is_copy_constructible {
250
- template <typename T2> static std::true_type test (decltype(new T2(std::declval<std::add_lvalue_reference<T2>::type>())) *);
250
+ template <typename T2> static std::true_type test (decltype(new T2(std::declval<typename std::add_lvalue_reference<T2>::type>())) *);
251
251
template <typename T2> static std::false_type test (...);
252
252
static const bool value = std::is_same<std::true_type, decltype(test<T>(nullptr ))>::value;
253
253
};
You can’t perform that action at this time.
0 commit comments