On 3/22/19 9:24 AM, Alex wrote:
On Friday, 22 March 2019 at 12:08:39 UTC, James Blachly wrote:
First, how do we deal with toString, std.format, writeln, etc. with
un-copyable objects, when it is only a member that is uncopyable? In
my case I got around this by creating a pointer and moving the
On Friday, 22 March 2019 at 12:08:39 UTC, James Blachly wrote:
I have a struct S with member containers.UnrolledList [1].
UnrolledList is @disable this(this), but this unfortunately
makes my struct S also un-copyable, which now breaks some of my
debugging statements which rely on toString, as w
I have a struct S with member containers.UnrolledList [1]. UnrolledList
is @disable this(this), but this unfortunately makes my struct S also
un-copyable, which now breaks some of my debugging statements which rely
on toString, as writeln, format, etc. all copy the object. This leaves
me in the