|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49662 - in trunk: boost/detail boost/functional/detail libs/functional/hash/test
From: daniel_james_at_[hidden]
Date: 2008-11-09 07:11:50
Author: danieljames
Date: 2008-11-09 07:11:50 EST (Sun, 09 Nov 2008)
New Revision: 49662
URL: http://svn.boost.org/trac/boost/changeset/49662
Log:
Add a forwarding header for container_fwd.hpp
Added:
trunk/boost/functional/detail/container_fwd.hpp (contents, props changed)
Text files modified:
trunk/boost/detail/container_fwd.hpp | 4 ++++
trunk/libs/functional/hash/test/container_fwd_test.cpp | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
Modified: trunk/boost/detail/container_fwd.hpp
==============================================================================
--- trunk/boost/detail/container_fwd.hpp (original)
+++ trunk/boost/detail/container_fwd.hpp 2008-11-09 07:11:50 EST (Sun, 09 Nov 2008)
@@ -6,6 +6,10 @@
#if !defined(BOOST_DETAIL_CONTAINER_FWD_HPP)
#define BOOST_DETAIL_CONTAINER_FWD_HPP
+#if defined(_MSC_VER) && (_MSC_VER >= 1020)
+# pragma once
+#endif
+
#include <boost/config.hpp>
#include <boost/detail/workaround.hpp>
Added: trunk/boost/functional/detail/container_fwd.hpp
==============================================================================
--- (empty file)
+++ trunk/boost/functional/detail/container_fwd.hpp 2008-11-09 07:11:50 EST (Sun, 09 Nov 2008)
@@ -0,0 +1,19 @@
+
+// Copyright 2005-2008 Daniel James.
+// Distributed under 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)
+
+// Forwarding header for container_fwd.hpp's new location.
+// This header is deprecated, I'll be adding a warning in a future release,
+// then converting it to an error and finally removing this header completely.
+
+#if !defined(BOOST_FUNCTIONAL_DETAIL_CONTAINER_FWD_HPP)
+#define BOOST_FUNCTIONAL_DETAIL_CONTAINER_FWD_HPP
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1020)
+# pragma once
+#endif
+
+#include <boost/detail/container_fwd.hpp>
+
+#endif
Modified: trunk/libs/functional/hash/test/container_fwd_test.cpp
==============================================================================
--- trunk/libs/functional/hash/test/container_fwd_test.cpp (original)
+++ trunk/libs/functional/hash/test/container_fwd_test.cpp 2008-11-09 07:11:50 EST (Sun, 09 Nov 2008)
@@ -3,7 +3,7 @@
// Distributed under 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)
-#include <boost/detail/container_fwd.hpp>
+#include <boost/functional/detail/container_fwd.hpp>
#if BOOST_WORKAROUND(__GNUC__, < 3) && !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION)
template <class charT, class Allocator>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk