
9 Nov
2009
9 Nov
'09
5:19 p.m.
Frank Mori Hess wrote:
Is it allright if I fix the perfect forwarding bug (https://svn.boost.org/trac/boost/ticket/2962) in make/allocate_shared before it maybe gets copied into a make/allocate_shared_array?
Yes of course. I wonder why I defined forward this way.
IIRC you expressed a preference for using std::forward when I originally brought this up. Can I just assume std::forward is available if the compiler supports rvalue references? Ticket #3570 suggests this might be a problem with stlport however.
Your patch is fine as it is, IMO. We'll probably need to convert the std::move uses to static_cast<T&&> as well.