diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-09-17 11:10:12 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-09-17 11:10:12 +0200 |
commit | 276b9a93c2e3b9ac58a9ddb5fff4c8299c459222 (patch) | |
tree | 8b39c09a58a8c3225b234b2b69af08a76d31f9a8 /include/lib/modernjson/detail/meta/void_t.hpp | |
parent | 99cea89d798b61398adf33cbc57c11d985ddab77 (diff) |
add nlohmann modenjson
Diffstat (limited to 'include/lib/modernjson/detail/meta/void_t.hpp')
-rw-r--r-- | include/lib/modernjson/detail/meta/void_t.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/lib/modernjson/detail/meta/void_t.hpp b/include/lib/modernjson/detail/meta/void_t.hpp new file mode 100644 index 0000000..2528ea8 --- /dev/null +++ b/include/lib/modernjson/detail/meta/void_t.hpp @@ -0,0 +1,13 @@ +#pragma once + +namespace nlohmann +{ +namespace detail +{ +template <typename ...Ts> struct make_void +{ + using type = void; +}; +template <typename ...Ts> using void_t = typename make_void<Ts...>::type; +} +} |