Passing large or complex data structures to threads
Joseph Rushton Wakeling
joseph.wakeling at webdrake.net
Tue May 28 06:03:31 PDT 2013
On 05/28/2013 08:56 AM, Ali Çehreli wrote:
> That is a difficult situation to manage though: What operations are valid under
> the 8 total mutable combinations of 3 members? The compiler must know what
> operations to be applied on what type of data so that it can both check the code
> and compile it accordingly.
>
> To have such a flexibility, the type must be templatized.
... which is what I imagined; I wasn't certain, though, whether it was possible
to templatize purely relative to type qualifiers, though I guessed not.
More information about the Digitalmars-d-learn
mailing list