Well, things like std::string are not cooperative in this regard.
Though, it's copied only to be instantly destructed,
theoretically it should be elided if the involved constructors
are annotated with sufficient purity or complementary operators.
Also the iterator pretends to be copyable, but it can't resume
from the point where it was copied, can it?
- Re: Post increment and decremen... ketmar via Digitalmars-d
- Re: Post increment and decremen... welkam via Digitalmars-d
- Re: Post increment and decremen... deadalnix via Digitalmars-d
- Re: Post increment and decremen... welkam via Digitalmars-d
- Re: Post increment and decremen... deadalnix via Digitalmars-d
- Re: Post increment and decremen... Andrei Alexandrescu via Digitalmars-d
- Re: Post increment and decremen... welkam via Digitalmars-d
- Re: Post increment and decremen... Andrei Alexandrescu via Digitalmars-d
- Re: Post increment and decremen... Kagamin via Digitalmars-d
- Re: Post increment and decremen... krzaq via Digitalmars-d
- Re: Post increment and decremen... Kagamin via Digitalmars-d
- Re: Post increment and decremen... krzaq via Digitalmars-d
- Re: Post increment and decremen... Andrei Alexandrescu via Digitalmars-d
- Re: Post increment and decrement deadalnix via Digitalmars-d
- Re: Post increment and decrement Walter Bright via Digitalmars-d
