diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-02-09 18:26:16 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-02-10 14:00:11 -0800 |
| commit | 47a4bff2d11881f95bd0eb0b659360ff1b7465c0 (patch) | |
| tree | 6f0bd80f1ccd881822c397d5922a8de2168a7762 /toolsrc/include | |
| parent | a0696395afddf492968a76ac38b1c8f14aba0e1f (diff) | |
| download | vcpkg-47a4bff2d11881f95bd0eb0b659360ff1b7465c0.tar.gz vcpkg-47a4bff2d11881f95bd0eb0b659360ff1b7465c0.zip | |
Add vcpkg_Enums
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg_Enums.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg_Enums.h b/toolsrc/include/vcpkg_Enums.h new file mode 100644 index 000000000..5c4dc8b06 --- /dev/null +++ b/toolsrc/include/vcpkg_Enums.h @@ -0,0 +1,11 @@ +#pragma once +#include <string> + +namespace vcpkg::Enums +{ + std::string nullvalue_toString(const std::string& enum_name); + + __declspec(noreturn) void nullvalue_used(const std::string& enum_name); + + __declspec(noreturn) void unreachable(const std::string& enum_name); +} |
