Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2343: [exception] Patch to improve support of CodeGear C++Builder 2009
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-09-20 17:07:01
#2343: [exception] Patch to improve support of CodeGear C++Builder 2009
--------------------------------------+-------------------------------------
Reporter: nmusatti | Owner: emildotchevski
Type: Patches | Status: new
Milestone: To Be Determined | Component: exception
Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+-------------------------------------
Comment(by nmusatti):
Replying to [comment:5 pdimov]:
> With regards to
>
> {{{return typename
exception_detail::enable_error_info_return_type<T>::type(x);}}}
>
> I'd suggest
>
> {{{
> typedef typename
exception_detail::enable_error_info_return_type<T>::type Rt;
> return Rt(x);
> }}}
>
> instead of yet another config macro.
Well, the config macro is already there and its use documents the presence
of a workaround, but I agree that your approach is cleaner. Anyway, I have
no strong opinion either way. Emil, let me know which approach you prefer.
> Also, <string.h> should have a ::memcpy, why would one need to use the
std:: one?
That's the bug for which I'm providing that workaround. The definition in
the global namespace isn't seen by the compiler.
-- Ticket URL: <http://svn.boost.org/trac/boost/ticket/2343#comment:6> 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:58 UTC