From 5c61c91b36de0de1314d585a9f0843d534361bb8 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Mon, 19 Sep 2005 20:29:51 +0000 Subject: [PATCH] Add STL forward declarations for the hash library (just for testing, not in use yet) [SVN r31043] --- .../boost/functional/detail/container_fwd.hpp | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 include/boost/functional/detail/container_fwd.hpp diff --git a/include/boost/functional/detail/container_fwd.hpp b/include/boost/functional/detail/container_fwd.hpp new file mode 100644 index 0000000..fb84b01 --- /dev/null +++ b/include/boost/functional/detail/container_fwd.hpp @@ -0,0 +1,57 @@ + +// (C) Copyright Daniel James 2005. +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#if !defined(BOOST_DETAIL_CONTAINER_FWD_HPP) +#define BOOST_DETAIL_CONTAINER_FWD_HPP + +#include +#include + +#if !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION) && \ + defined(__STL_CONFIG_H) + +#define BOOST_CONTAINER_FWD_BAD_BITSET + +#if !defined(__STL_NON_TYPE_TMPL_PARAM_BUG) +#define BOOST_CONTAINER_FWD_BAD_DEQUE +#endif + +#endif + +#if defined(BOOST_CONTAINER_FWD_BAD_DEQUE) +#include +#endif + +#if defined(BOOST_CONTAINER_FWD_BAD_BITSET) +#include +#endif + +namespace std +{ + template class allocator; + + template class basic_string; + +#if !defined(BOOST_CONTAINER_FWD_BAD_DEQUE) + template class deque; +#endif + + template class list; + template class vector; + template class map; + template + class multimap; + template class set; + template class multiset; + +#if !defined(BOOST_CONTAINER_FWD_BAD_BITSET) + template class bitset; +#endif + + template class complex; +} + +#endif