Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-05-25 09:01:09


Domenico Andreoli <cavok_at_[hidden]> writes:

> hello there,
>
> this is the the last important bug debian packages of Boost 1.31.0 have.
>
> this is copy of the message i already sent to debian-arm ml and
> Boost.Python ml with no response.

Sorry; been swamped.

>
> i'm forwarding it here, on boost developers ml, as last chance to settle
> this out and finally make 1.31.0 reach debian sarge.

What compiler are you using? Can you post a small reproducible test
case for this issue?

> it may also look like a problem in MPL.

Yes, as far as I can tell you may be right about that.

  template <class Tuple, class Predicate>
  struct tuple_extract
      : tuple_extract_base_select<
         Tuple
         , typename mpl::lambda<Predicate>::type
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>::type
  {
  };

Is supposed to transform the Predicate,
boost::python::detail::is_reference_to_member_function_pointer<boost::mpl::_1>
into a metafunction class (something with a nested ::apply template)
if it is not already such a beast. Instead it seems to be returning
the Predicate intact.

I can think of some possible workarounds (in the Boost.Python code),
but without a reproducible case I'd be loathe to vouch for any of them.

> [0] http://buildd.debian.org/fetch.php?&pkg=kdeedu&ver=4%3A3.2.2-1&arch=arm&stamp=1082667643&file=log&as=raw
> [1] http://buildd.debian.org/fetch.php?&pkg=regina-normal&ver=4.1.1-1&arch=arm&stamp=1082790357&file=log&as=raw
> [2] http://bugs.debian.org/245893

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk