Instantiation of nested structs should be allowed outside their parent scope
Alexandru Ermicioi
alexandru.ermicioi at gmail.com
Tue Nov 9 22:48:33 UTC 2021
On Tuesday, 9 November 2021 at 22:22:20 UTC, Alexandru Ermicioi
wrote:
> ...
>
> Best regards,
> Alexandru.
You may also try iterate over all constructor overloads, and
check for function signature with is expression. This should not
force the compiler to instantiate the struct (and hence complain
for missing context pointer), and achieve what you need in case
for copy constructor.
More information about the Digitalmars-d
mailing list