The "no gc" crowd
Sean Kelly
sean at invisibleduck.org
Thu Oct 10 17:08:16 PDT 2013
On Thursday, 10 October 2013 at 23:33:27 UTC, Jonathan M Davis
wrote:
>
> Yeah. The only times that something is going to accept shared
> is when it was
> specifically designed to work as shared (which most code
> isn't), or if it's
> templated and the template happens to work with shared. Regular
> functions just
> aren't going to work with shared without casting away shared,
> because that
> would usually mean either templating everything or duplicating
> functions all over the place.
I think that's pretty reasonable though. Shared data needs to be
treated differently, explicitly, or things go downhill fast.
More information about the Digitalmars-d
mailing list