maybe still ignore booleans

pull/2687/head
Bailey Chittle 3 years ago
parent b8ea4896d9
commit e86b48ad9e

@ -416,9 +416,6 @@ void attribute_example() {
spdlog::push_context({{"llong", ll }});
spdlog::push_context({{"ullong", ull }});
// chars shouldnt work?
// spdlog::push_context({{"char", 'a' }});
// floats shouldnt work
// spdlog::push_context({{"float", 1.0f }});
// spdlog::push_context({{"double", 1.0 }});

@ -17,6 +17,7 @@ struct is_string
template<typename T>
struct is_number : public std::integral_constant<bool,
std::is_integral<T>::value
&& !std::is_same<T, bool>::value
// || std::is_floating_point<T>::value
>
{};

Loading…
Cancel
Save