Flame bait: D vs. Rust vs. Go Benchmarking

Jonathan M Davis jmdavisProg at gmx.com
Thu Jul 25 04:41:53 PDT 2013


On Thursday, July 25, 2013 08:56:40 monarch_dodra wrote:
> On Thursday, 25 July 2013 at 00:09:40 UTC, Jonathan M Davis wrote:
> > On Thursday, July 25, 2013 01:29:04 John Colvin wrote:
> >> And @safe is automatically inferred (on templates only still?)
> >> when possible? I don't like where this is going...
> > 
> > If you have code that you want to be explictly @system, then
> > mark it with
> > @system. That will override any attribute inference for @safe.
> > 
> > - Jonathan m Davis
> 
> Last time I checked: Adding a *single* qualification on a
> function will deactivate inference for *every* qualifier. Is this
> still true?

I have no idea. I'd have to test it. I was not aware of that ever being the 
case. I'd certainly consider that to be a bug if it is.

> Is there any documentation about how inference works, I can't
> find it.

Not that I'm aware of.

- Jonathan M Davis


More information about the Digitalmars-d mailing list