Subject: Re: [Boost-bugs] [Boost C++ Libraries] #852: Problem with Boost and GCC 4.1
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-16 17:24:59
#852: Problem with Boost and GCC 4.1
---------------------+------------------------------------------------------
Reporter: nobody | Owner: dgregor
Type: Bugs | Status: new
Milestone: | Component: signals
Version: None | Severity: Showstopper
Resolution: None | Keywords:
---------------------+------------------------------------------------------
Changes (by Michael Andres <ma_at_[hidden]>):
* cc: ma_at_[hidden] (added)
Comment:
In case someone is listening: Is this really a linux/gcc problem? I'm
asking because I don't see how/where the test could happen. (boost-1.36.0)
Looking at the slot ctor, neither get_inspectable_slot() nor the
detail::bound_objects_visitor (trackable.hpp) seem to handle the case of a
bound pointer to to member function.
If I'd add a few more decode() overloads to class bound_objects_visitor, I
could catch those cases:
{{{
template<class R, class T, class LT>
void decode(const _bi::bind_t<R,_mfi::cmf0<R,T>, _bi::list1<LT> > &
t, int) const
{;}
template<class R, class T, class A1, class LT, class L1>
void decode(const _bi::bind_t<R,_mfi::cmf1<R,T,A1>,
_bi::list2<LT,L1> > & t, int) const
{;}
...
}}}
But I can't extract the 1st arg of the bind_t internal list in order to
check whether it's a pointer of reference to a trackable seems to be a
private member of bind_t).
May it be it's not a compiler problem, but simply not implemented?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/852#comment:14> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC