|
Boost : |
From: John Maddock (john_maddock_at_[hidden])
Date: 2002-05-24 06:05:59
I have some patches which get the signals lib working with C++ Builder 6
(see below), if there are no objections I'll check these in sometime soon.
As far as I can tell the changes affect only the implementation detail not
the interface, but they're fairly substantial, so I'd like approval before
going ahead with them.
Anyway here's the diff:
Index: signal.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/signal.hpp,v
retrieving revision 1.1
diff -r1.1 signal.hpp
81c81
< typename R,
--- > typename R, 92c92 < typename Combiner = last_value<R> --- > typename Combiner 115c115 < typename Combiner = last_value<R> --- > typename Combiner 138c138 < typename Combiner = last_value<R> --- > typename Combiner 161c161 < typename Combiner = last_value<R> --- > typename Combiner 184c184 < typename Combiner = last_value<R> --- > typename Combiner 207c207 < typename Combiner = last_value<R> --- > typename Combiner 231c231 < typename Combiner = last_value<R> --- > typename Combiner 254c254 < typename Combiner = last_value<R> --- > typename Combiner 277c277 < typename Combiner = last_value<R> --- > typename Combiner 300c300 < typename Combiner = last_value<R> --- > typename Combiner 323c323 < typename Combiner = last_value<R> --- > typename Combiner 344c344 < typename Combiner = last_value<R> --- > typename Combiner 348,352c348,354 < typedef typename real_get_signal_impl< < (count_used_args<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>::value) < >::template params<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, < Combiner>::type < type; --- > private: > typedef real_get_signal_impl< > (::boost::signals::detail::count_used_args<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>::value)> t1; > typedef typename t1::template params<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, > Combiner> t2; > public: > typedef typename t2::type type; 374,375c376,377 < public signals::detail::get_signal_impl<R, T1, T2, T3, T4, T5, T6, T7, < T8, T9, T10>::type --- > public signals::detail::get_signal_impl<R, T1, T2, T3, T4, T5, T6, T7, > T8, T9, T10, boost::last_value<R> >::type 380,383c382,386 < typedef typename signals::detail::get_signal_impl<R, T1, T2, T3, T4, T5, < T6, T7, T8, T9, T10, < Combiner>::type < type; --- > private: > typedef signals::detail::get_signal_impl<R, T1, T2, T3, T4, T5, > T6, T7, T8, T9, T10, Combiner> t1; > public: > typedef typename t1::type type; John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk