introspection: add filesystem::path type_name specialisation
This commit is contained in:
parent
46873e0931
commit
cc4f91f393
@ -38,3 +38,5 @@ constexpr const char ::util::detail::type_name_f64::value[];
|
||||
constexpr const char ::util::detail::type_name_string::value[];
|
||||
constexpr const char ::util::detail::type_name_cstring::value[];
|
||||
constexpr const char ::util::detail::type_name_const_cstring::value[];
|
||||
|
||||
constexpr const char ::util::detail::type_name_path::value[];
|
||||
|
@ -24,6 +24,8 @@
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <tuple>
|
||||
#include <experimental/filesystem>
|
||||
|
||||
|
||||
namespace util {
|
||||
// XXX: clang-3.9/clang-4.0 will not instantiate static constexpr member
|
||||
@ -62,6 +64,7 @@ namespace util {
|
||||
CLANG_WORKAROUND(const char*, const_cstring, "cstring")
|
||||
CLANG_WORKAROUND(char*, cstring, "cstring")
|
||||
CLANG_WORKAROUND(std::string, string, "string")
|
||||
CLANG_WORKAROUND(std::experimental::filesystem::path, path, "path");
|
||||
|
||||
#undef CLANG_WORKAROUND
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user