Unify long string literals to use raw string literals. (#101)

This commit is contained in:
Andreas Süßenbach
2017-04-28 18:49:59 +02:00
committed by Markus Tavenrath
parent 6e9d9b5111
commit cd9d4f1388
2 changed files with 410 additions and 415 deletions

View File

@@ -93,6 +93,7 @@ static_assert( VK_HEADER_VERSION == 46 , "Wrong VK_HEADER_VERSION!" );
namespace vk
{
template <typename FlagBitsType> struct FlagTraits
{
enum { allFlags = 0 };
@@ -197,19 +198,19 @@ namespace vk
private:
MaskType m_mask;
};
template <typename BitType>
Flags<BitType> operator|(BitType bit, Flags<BitType> const& flags)
{
return flags | bit;
}
template <typename BitType>
Flags<BitType> operator&(BitType bit, Flags<BitType> const& flags)
{
return flags & bit;
}
template <typename BitType>
Flags<BitType> operator^(BitType bit, Flags<BitType> const& flags)
{
@@ -325,7 +326,6 @@ namespace vk
};
#endif
#if defined(VULKAN_HPP_NO_EXCEPTIONS) && !defined(VULKAN_HPP_NO_SMART_HANDLE)
# define VULKAN_HPP_NO_SMART_HANDLE
#endif
@@ -500,6 +500,7 @@ namespace vk
}
}
#if defined(_MSC_VER) && (_MSC_VER == 1800)
# define noexcept _NOEXCEPT
#endif
@@ -800,6 +801,7 @@ namespace std
namespace vk
{
template <typename T>
struct ResultValue
{
@@ -824,7 +826,8 @@ namespace vk
#endif
};
template <> struct ResultValueType<void>
template <>
struct ResultValueType<void>
{
#ifdef VULKAN_HPP_NO_EXCEPTIONS
typedef Result type;