|
Boost-Commit : |
From: tschwinger_at_[hidden]
Date: 2008-03-14 13:59:22
Author: t_schwinger
Date: 2008-03-14 13:59:22 EDT (Fri, 14 Mar 2008)
New Revision: 43605
URL: http://svn.boost.org/trac/boost/changeset/43605
Log:
attempts to finally make Sun work
Text files modified:
trunk/boost/function_types/detail/cv_traits.hpp | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
Modified: trunk/boost/function_types/detail/cv_traits.hpp
==============================================================================
--- trunk/boost/function_types/detail/cv_traits.hpp (original)
+++ trunk/boost/function_types/detail/cv_traits.hpp 2008-03-14 13:59:22 EDT (Fri, 14 Mar 2008)
@@ -13,8 +13,7 @@
#include <boost/detail/workaround.hpp>
#if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- || BOOST_WORKAROUND(__BORLANDC__, <= 0x582) \
- || BOOST_WORKAROUND(__SUNPRO_CC, BOOST_TESTED_AT(0x590))
+ || BOOST_WORKAROUND(__BORLANDC__, <= 0x582)
# include <boost/type_traits/remove_cv.hpp>
# include <boost/type_traits/remove_pointer.hpp>
# include <boost/type_traits/remove_reference.hpp>
@@ -24,12 +23,8 @@
namespace boost { namespace function_types { namespace detail {
-namespace ft = boost::function_types;
-
-
#if ! (defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- || BOOST_WORKAROUND(__BORLANDC__, <= 0x582) \
- || BOOST_WORKAROUND(__SUNPRO_CC, BOOST_TESTED_AT(0x590)))
+ || BOOST_WORKAROUND(__BORLANDC__, <= 0x582))
template<typename T> struct cv_traits
{ typedef non_cv tag; typedef T type; };
@@ -113,12 +108,13 @@
{
static T _t;
BOOST_STATIC_CONSTANT(std::size_t, value =
- sizeof(ft::detail::switch_cv(ft::detail::ref_to_ptr(_t) ) ));
+ sizeof(::boost::function_types::detail::switch_cv(
+ ::boost::function_types::detail::ref_to_ptr(_t) ) ));
};
template<typename T> struct cv_traits
{
- typedef typename ft::detail::cv_tag_impl<
+ typedef typename boost::function_types::detail::cv_tag_impl<
::boost::function_types::detail::cv_code<T>::value >::type
tag;
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