|
Boost-Commit : |
From: dave_at_[hidden]
Date: 2008-07-25 05:26:16
Author: dave
Date: 2008-07-25 05:26:15 EDT (Fri, 25 Jul 2008)
New Revision: 47794
URL: http://svn.boost.org/trac/boost/changeset/47794
Log:
No compilers without partial specialization see this file.
Text files modified:
trunk/boost/concept/detail/general.hpp | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
Modified: trunk/boost/concept/detail/general.hpp
==============================================================================
--- trunk/boost/concept/detail/general.hpp (original)
+++ trunk/boost/concept/detail/general.hpp 2008-07-25 05:26:15 EDT (Fri, 25 Jul 2008)
@@ -31,13 +31,11 @@
struct failed {};
-# ifndef BOOST_NO_PARTIAL_SPECIALIZATION
template <class Model>
struct requirement<failed ************ Model::************>
{
static void failed() { ((Model*)0)->~Model(); }
};
-# endif
# ifdef BOOST_OLD_CONCEPT_SUPPORT
@@ -52,28 +50,17 @@
: mpl::if_<
concept::not_satisfied<Model>
, constraint<Model>
-# ifndef BOOST_NO_PARTIAL_SPECIALIZATION
, requirement<failed ************ Model::************>
-# else
- , requirement<Model>
-# endif
>::type
{};
# else
// For GCC-2.x, these can't have exactly the same name
-# ifndef BOOST_NO_PARTIAL_SPECIALIZATION
template <class Model>
struct requirement_<void(*)(Model)>
: requirement<failed ************ Model::************>
{};
-# else
-template <class Model>
-struct requirement_<void(*)(Model)>
- : requirement<Model>
-{};
-# endif
# endif
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