From 991164a3bb1eae06bbdcfa033d459bec2741346b Mon Sep 17 00:00:00 2001 From: Daniel James Date: Tue, 27 Sep 2005 19:46:04 +0000 Subject: [PATCH] Add test for char_traits in container_fwd.hpp [SVN r31134] --- hash/test/container_fwd_test.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/hash/test/container_fwd_test.cpp b/hash/test/container_fwd_test.cpp index 0409a1e..e51df8c 100644 --- a/hash/test/container_fwd_test.cpp +++ b/hash/test/container_fwd_test.cpp @@ -1,9 +1,16 @@ #include -template -void test(std::basic_string const&) +#if BOOST_WORKAROUND(__GNUC__, < 3) && !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION) +template +void test(std::basic_string, Allocator> const&) { } +#else +template +void test(std::basic_string, Allocator> const&) +{ +} +#endif template void test(std::deque const&)