Remove unused std::monostate handling

This wasn't useful after all.
This commit is contained in:
Martchus 2019-11-03 22:38:27 +01:00
parent 3374e4ea6c
commit 456702e009
1 changed files with 0 additions and 6 deletions

View File

@ -14,7 +14,6 @@
#include <limits>
#include <list>
#include <string>
#include <variant>
#include <vector>
namespace ReflectiveRapidJSON {
@ -53,11 +52,6 @@ constexpr JsonType jsonType()
return JsonType::Number;
}
template <typename Type, Traits::EnableIf<std::is_same<Type, std::monostate>> * = nullptr> constexpr JsonType jsonType()
{
return JsonType::Null;
}
template <typename Type, Traits::EnableIfAny<std::is_same<Type, bool>> * = nullptr> constexpr JsonType jsonType()
{
return JsonType::Bool;