Fix for Boost.Function and the Borland compilers

There's a regression in one of the regex tests caused by a change to Boost.Function which breaks Borland support, the following fairly trivial patch fixes things: OK to commit? John. Index: C:/data/boost/boost/trunk/boost/function/function_template.hpp =================================================================== --- C:/data/boost/boost/trunk/boost/function/function_template.hpp (revision 39650) +++ C:/data/boost/boost/trunk/boost/function/function_template.hpp (working copy) @@ -437,8 +437,9 @@ if (base.manager) base.manager(functor, functor, destroy_functor_tag); } - +#ifndef BOOST_NO_PRIVATE_IN_AGGREGATE private: +#endif // Function pointers template<typename FunctionPtr> bool

Douglas Gregor wrote:
On Oct 2, 2007, at 7:04 AM, John Maddock wrote:
There's a regression in one of the regex tests caused by a change to Boost.Function which breaks Borland support, the following fairly trivial patch fixes things: OK to commit?
Yes, please go ahead. Thanks!
Done, John.
participants (2)
-
Douglas Gregor
-
John Maddock