isCopyable and isAssignable

James Buren via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Oct 9 00:27:38 PDT 2016


On Sunday, 9 October 2016 at 07:23:05 UTC, Nordlöw wrote:
> Now that we have isCopyable from
>
> https://github.com/dlang/phobos/pull/4706
>
> can somebody briefly outline when something fulfills 
> `isCopyable` but not `isAssignable` and vice versa?

I would imagine that an intermediate value, or other lvalue, may 
be copyable, but not assignable.


More information about the Digitalmars-d-learn mailing list