This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Specialising when swap / iter_swap exists


On Thu, Oct 07, 2004 at 12:46:55PM +0100, chris wrote:

> However, I shall consider to see if there might be some simple way of 
> implementing some small subset of this functionality, as I imagine it 
> may be a long time before this actually moves into the C++ language and 
> it may be possible to simply get a reasonable quantity of the benefits.

It can be done, but I'm not sure about the "simple" part  :-)

e.g.  http://home.comcast.net/~jturkanis/move_ptr/

jon

-- 
[Inlines] are the third most-misused C++ feature
(after inheritance and overloading).
	- Nathan Myers


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]