diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h index 733e0144..c674594c 100644 --- a/include/fmt/ranges.h +++ b/include/fmt/ranges.h @@ -347,11 +347,6 @@ template struct is_range { detail::is_range_::value && !detail::has_to_string_view::value; }; -/** - * returns "true" if "T" is a container adaptor (like "std::stack") - * that should be formatted by iterating over the underlying container. - * */ - namespace detail { template @@ -769,6 +764,12 @@ template struct all { auto end() const -> typename Container::const_iterator { return c.end(); } }; } // namespace detail + +/** + * returns "true" if "T" is a container adaptor (like "std::stack") + * that should be formatted by iterating over the underlying container. + * */ + FMT_EXPORT template struct is_container_adaptor : detail::is_container_adaptor_like {};