diff --git a/include/fmt/format.h b/include/fmt/format.h index 7a0c3ca6..6f4312f5 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -516,18 +516,6 @@ FMT_INLINE void assume(bool condition) { #endif } -// Extracts a reference to the container from back_insert_iterator. -template -inline auto get_container(std::back_insert_iterator it) - -> Container& { - using base = std::back_insert_iterator; - struct accessor : base { - accessor(base b) : base(b) {} - using base::container; - }; - return *accessor(it).container; -} - template FMT_CONSTEXPR auto copy_str(InputIt begin, InputIt end, OutputIt out) -> OutputIt {