From: Mat M. <mm...@ad...> - 2008-04-01 19:20:01
|
Forwarded message from Sean Parent: --- I haven't had a chance to take a look at the patch yet (will soon) - One more suggestion - if you can accurately detect swap() [there is code from Dave for has_swap() in our implementation directory - I don't recall the status of it.] then move() could fall back to swap() - which is likely more efficient then copy if provided. Alternatively it would be good to overload move for the std containers and std::string in terms of swap and specialize is_movable accordingly (there is an issue with that in that some functions currently key off is_movable to directly invoke the move_ctor, but we can detect the move_ctor and so could fix this code. Sean --- "Daniel James" <dan...@fm...> writes: > Hi, > > David Abrahams suggested 'boostifying' the adobe move library during > the Boost.Unordered review - so I'm currently working on doing that. > Other than changing the namespaces, I'm planning to supply a fallback > for compilers without SFINAE and add support for Boost.Thread's move > semantics. And possibly add some support for objects that aren't > regular. > > I've attached a patch for a few small changes to the documentation. > Hopefully, it should be self-explanatory. Does it look okay? > > thanks, > > Daniel > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ > Adobe-source-devel mailing list > Ado...@li... > https://lists.sourceforge.net/lists/listinfo/adobe-source-devel |