January 19, 2016 General » Re: rval->ref const(T), implicit conversions | |||
|---|---|---|---|
| |||
It actually isn't. | |||
January 19, 2016 General » Re: rval->ref const(T), implicit conversions | |||
|---|---|---|---|
| |||
It's not that I don't understand, I just don't care to convince... | |||
January 19, 2016 General » Re: rval->ref const(T), implicit conversions | |||
|---|---|---|---|
| |||
It's not a "finer point". This isn't really even about my wrapper at... | |||
January 19, 2016 General » Re: rval->ref const(T), implicit conversions | |||
|---|---|---|---|
| |||
As a simple example, consider the following:
void main() {
func(5);
int n = 6;
func... | |||
January 19, 2016 General » Re: rval->ref const(T), implicit conversions | |||
|---|---|---|---|
| |||
You are confused. You don't seem to be able to distinguish between indifference and... | |||
January 19, 2016 General » Re: rval->ref const(T), implicit conversions | |||
|---|---|---|---|
| |||
You seem to have missed the significance of the "including the body!" part. Directly using... | |||
January 19, 2016 General » Re: rval->ref const(T), implicit conversions | |||
|---|---|---|---|
| |||
Your solution suffers from exactly the same problem. It still uses auto ref. No, they... | |||
January 19, 2016 General » Re: rval->ref const(T), implicit conversions | |||
|---|---|---|---|
| |||
Oops - I was being a little dyslexic here. It's actually much worse than that... | |||
January 19, 2016 General » Re: rval->ref const(T), implicit conversions | |||
|---|---|---|---|
| |||
That has fundamentally different semantics from my PR, and does not solve Manu's problem... | |||
January 19, 2016 General » Re: rval->ref const(T), implicit conversions | |||
|---|---|---|---|
| |||
Sorry if that seemed mean, but it wasn't meant to be insulting. But while... | |||
Copyright © 1999-2021 by the D Language Foundation