From f3146e43cd19bdf85957d6d62132ac7c31eacc50 Mon Sep 17 00:00:00 2001 From: Mikhail Pozdnyakov Date: Thu, 26 Sep 2019 17:53:49 +0300 Subject: [core] ValueFactory for `expression::formatted`, other improvements --- include/mbgl/util/traits.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/mbgl/util') diff --git a/include/mbgl/util/traits.hpp b/include/mbgl/util/traits.hpp index 5b9401aad7..e37144e60e 100644 --- a/include/mbgl/util/traits.hpp +++ b/include/mbgl/util/traits.hpp @@ -1,7 +1,9 @@ #pragma once +#include #include #include +#include namespace mbgl { @@ -25,4 +27,12 @@ typename std::enable_if::value && is_utf16char_like_po return reinterpret_cast(in); } +template +struct is_linear_container : std::false_type {}; + +template +struct is_linear_container> : std::true_type {}; +template +struct is_linear_container> : std::true_type {}; + } // namespace mbgl -- cgit v1.2.1