Added missing STL type traits include.
This commit is contained in:
parent
80c6a4aa8e
commit
79185006a8
@ -55,6 +55,7 @@ NAMESPACE_SQUID_END
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// False type for use in static_assert() [static_assert(false, ...) -> static_assert(static_false<T>, ...)]
|
// False type for use in static_assert() [static_assert(false, ...) -> static_assert(static_false<T>, ...)]
|
||||||
|
#include <type_traits>
|
||||||
template<typename T>
|
template<typename T>
|
||||||
struct static_false : std::false_type
|
struct static_false : std::false_type
|
||||||
{
|
{
|
||||||
|
|||||||
@ -55,6 +55,7 @@ NAMESPACE_SQUID_END
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// False type for use in static_assert() [static_assert(false, ...) -> static_assert(static_false<T>, ...)]
|
// False type for use in static_assert() [static_assert(false, ...) -> static_assert(static_false<T>, ...)]
|
||||||
|
#include <type_traits>
|
||||||
template<typename T>
|
template<typename T>
|
||||||
struct static_false : std::false_type
|
struct static_false : std::false_type
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user