From 4cad065b0e487abb033cfd1d5e8420b3337a086c Mon Sep 17 00:00:00 2001 From: Daniel James Date: Tue, 27 Sep 2005 19:45:04 +0000 Subject: [PATCH] Add char_traits support to the container_fwd header. [SVN r31133] --- include/boost/functional/detail/container_fwd.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/boost/functional/detail/container_fwd.hpp b/include/boost/functional/detail/container_fwd.hpp index fb84b01..dca717e 100644 --- a/include/boost/functional/detail/container_fwd.hpp +++ b/include/boost/functional/detail/container_fwd.hpp @@ -8,6 +8,7 @@ #define BOOST_DETAIL_CONTAINER_FWD_HPP #include +#include #include #if !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION) && \ @@ -35,6 +36,12 @@ namespace std template class basic_string; +#if BOOST_WORKAROUND(__GNUC__, < 3) && !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION) + template class string_char_traits; +#else + template class char_traits; +#endif + #if !defined(BOOST_CONTAINER_FWD_BAD_DEQUE) template class deque; #endif