On Jun 5, 2007, at 8:34 PM, dx wrote:
The incomplete class "gcc_3_2_wknd" must not be used as a qualifier.
This patch on boost/mpl/has_xxx.hpp helped for Boost 1.33.1: I moved
the gcc_3_2_wknd struct outside the class scope.
Matthias
--- boost/mpl/has_xxx.hpp 2005-06-15 12:43:23.000000000 +0200
+++ /Users/troyer/Desktop/has_xxx.hpp 2007-06-12 10:36:42.000000000
+0200
@@ -1,7 +1,6 @@
#ifndef BOOST_MPL_HAS_XXX_HPP_INCLUDED
#define BOOST_MPL_HAS_XXX_HPP_INCLUDED
-
// Copyright Aleksey Gurtovoy 2002-2004
// Copyright David Abrahams 2002-2003
//
@@ -183,21 +182,21 @@
# else // other SFINAE-capable compilers
+ struct gcc_3_2_wknd
+ {
+ template< typename U >
+ static boost::mpl::aux::yes_tag test(
+ boost::mpl::aux::type_wrapper<U> const volatile*
+ , boost::mpl::aux::type_wrapper