Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost.stringalgo] issue
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-05-12 16:56:43


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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net