Use bool instead of auto
This commit is contained in:
parent
0c9adb13f5
commit
b20332ddb9
@ -684,10 +684,11 @@ inline constexpr bool value_in_range_of(T val)
|
||||
template<bool Value>
|
||||
using bool_constant = std::integral_constant<bool, Value>;
|
||||
|
||||
|
||||
template <typename T, typename BasicJsonType, typename U = uncvref_t<T>>
|
||||
struct json_compatible_type
|
||||
{
|
||||
static constexpr auto value = !is_basic_json<U>::value && is_compatible_type<BasicJsonType, U>::value;
|
||||
static constexpr bool value = !is_basic_json<U>::value && is_compatible_type<BasicJsonType, U>::value;
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Loading…
Reference in New Issue
Block a user