Hi: True, good point. I'll leave the code as is then. Sean. -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Thorsten Ottosen Sent: 12 May 2009 21:57 To: boost-users@lists.boost.org Subject: Re: [Boost-users] [boost.stringalgo] issue Sean Farrow skrev:
Hi: It doesn't appear to, the filename declaration is: String_type Filename() const
How the h*** do you expect to erase from an rvalue? :-) (we need move semantics to do that. You have to cache the container/string you are erasing values in. -Thorsten _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users __________ Information from ESET NOD32 Antivirus, version of virus signature database 4068 (20090512) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 4068 (20090512) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com