mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-10 14:40:07 +00:00
Disable CTAD on ArrayProxy's constructors (#405)
* Disable CTAD on ArrayProxy's reference constructor * Disable CTAD on ArrayProxy's initializer_list ctor
This commit is contained in:
parent
c06a3300f6
commit
68b11f1e90
@ -4383,7 +4383,7 @@ int main( int argc, char **argv )
|
||||
, m_ptr(nullptr)
|
||||
{}
|
||||
|
||||
ArrayProxy(T & ptr) VULKAN_HPP_NOEXCEPT
|
||||
ArrayProxy(typename std::remove_reference<T>::type & ptr) VULKAN_HPP_NOEXCEPT
|
||||
: m_count(1)
|
||||
, m_ptr(&ptr)
|
||||
{}
|
||||
@ -4417,7 +4417,7 @@ int main( int argc, char **argv )
|
||||
, m_ptr(data.data())
|
||||
{}
|
||||
|
||||
ArrayProxy(std::initializer_list<T> const& data) VULKAN_HPP_NOEXCEPT
|
||||
ArrayProxy(std::initializer_list<typename std::remove_reference<T>::type> const& data) VULKAN_HPP_NOEXCEPT
|
||||
: m_count(static_cast<uint32_t>(data.end() - data.begin()))
|
||||
, m_ptr(data.begin())
|
||||
{}
|
||||
|
@ -168,7 +168,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
, m_ptr(nullptr)
|
||||
{}
|
||||
|
||||
ArrayProxy(T & ptr) VULKAN_HPP_NOEXCEPT
|
||||
ArrayProxy(typename std::remove_reference<T>::type & ptr) VULKAN_HPP_NOEXCEPT
|
||||
: m_count(1)
|
||||
, m_ptr(&ptr)
|
||||
{}
|
||||
@ -202,7 +202,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
, m_ptr(data.data())
|
||||
{}
|
||||
|
||||
ArrayProxy(std::initializer_list<T> const& data) VULKAN_HPP_NOEXCEPT
|
||||
ArrayProxy(std::initializer_list<typename std::remove_reference<T>::type> const& data) VULKAN_HPP_NOEXCEPT
|
||||
: m_count(static_cast<uint32_t>(data.end() - data.begin()))
|
||||
, m_ptr(data.begin())
|
||||
{}
|
||||
|
Loading…
Reference in New Issue
Block a user