Extent support of functions returning some typed value
This commit is contained in:
@@ -795,8 +795,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
template <typename B = T, typename std::enable_if<std::is_const<B>::value, int>::type = 0>
|
||||
ArrayProxyNoTemporaries( std::initializer_list<typename std::remove_const<T>::type> && list ) = delete;
|
||||
|
||||
// Any type with a .data() return type implicitly convertible to T*, and a // .size() return type implicitly
|
||||
// convertible to size_t.
|
||||
// Any type with a .data() return type implicitly convertible to T*, and a .size() return type implicitly convertible to size_t.
|
||||
template <typename V,
|
||||
typename std::enable_if<std::is_convertible<decltype( std::declval<V>().data() ), T *>::value &&
|
||||
std::is_convertible<decltype( std::declval<V>().size() ), std::size_t>::value>::type * = nullptr>
|
||||
|
||||
Reference in New Issue
Block a user