Vulkan-Hpp/tests/DesignatedInitializers
2021-01-18 12:25:50 +01:00
..
CMakeLists.txt Introduce VULKAN_HPP_NO_STRUCT_CONSTRUCTORS so support designated initializers. 2020-06-24 11:28:43 +02:00
DesignatedInitializers.cpp Change structure member sType to non-const to allow default assignment operator. Make copy constructor and copy assignment default. The latter is required for C++20 designated initializers. Delegate the constructor from C-type to the copy constructor by casting rhs accordingly. Fix warnings on gcc/clang. 2021-01-18 12:25:50 +01:00