On 23/06/2010 23:14, bearophile wrote:
div0:
and now with 2.047 I've been
bitten by the removal of struct initialisers.
What do you mean?
Bye,
bearophile
curly brace initialisers:
struct c4 {
float[4]_vals;
}
c4 dat = { [0,0,0,0] };
Needs to be changed to use a constructo
Jonathan M Davis wrote:
> div0 wrote:
>
>>>
> [... snip of UTF-8 stuff ...]
>>
>
> The UTF char stuff is all painfully complicated, and I _think_ that I more
> or less understand it, but I suspect that I don't understand it all that
> well. It would be nice if the there were a page in the docs s
div0:
> and now with 2.047 I've been
> bitten by the removal of struct initialisers.
What do you mean?
Bye,
bearophile
On 22/06/2010 23:05, Jonathan M Davis wrote:
Oh my, you caveman! ;) I'd have to go look at all of the changelogs to even
have a clue of what's been changed since then. Oh well, I guess that it
means that you don't have to worry about stuff changing on you each upgrade
by sticking to the same vers
div0 wrote:
>>
[... snip of UTF-8 stuff ...]
>
The UTF char stuff is all painfully complicated, and I _think_ that I more
or less understand it, but I suspect that I don't understand it all that
well. It would be nice if the there were a page in the docs somewhere that
really explained it well
On 22/06/2010 19:26, Jonathan M Davis wrote:
div0 wrote:
On 22/06/2010 07:29, Jonathan M Davis wrote:
Okay. If you call until like so
str.until('\"')
you get a Until!(pred,string,char). I want to turn that into a string.
array() doesn't seem to do the trick right now. It used to work, but no
div0 wrote:
> On 22/06/2010 07:29, Jonathan M Davis wrote:
>> Okay. If you call until like so
>>
>> str.until('\"')
>>
>> you get a Until!(pred,string,char). I want to turn that into a string.
>> array() doesn't seem to do the trick right now. It used to work, but now
>> it gives me
>>
>> main.d(4
On 22/06/2010 07:29, Jonathan M Davis wrote:
Okay. If you call until like so
str.until('\"')
you get a Until!(pred,string,char). I want to turn that into a string.
array() doesn't seem to do the trick right now. It used to work, but now it
gives me
main.d(47): Error: template std.array.array(R
Philippe Sigaud wrote:
>>
> I got this error also while installing 2.047. I think the new definition
> of a forward range asks for a .save() member. And I guess some ranges
> where not converted. std.range.repeat is one, like cycle. It seems like
> Until is another.
>
> Maybe for repeat/cycle that
On Tue, Jun 22, 2010 at 08:38, Jonathan M Davis wrote:
> Jonathan M Davis wrote:
>
> > Okay. If you call until like so
> >
> > str.until('\"')
> >
> > you get a Until!(pred,string,char). I want to turn that into a string.
> > array() doesn't seem to do the trick right now. It used to work, but now
Jonathan M Davis wrote:
> Okay. If you call until like so
>
> str.until('\"')
>
> you get a Until!(pred,string,char). I want to turn that into a string.
> array() doesn't seem to do the trick right now. It used to work, but now
> it gives me
>
> main.d(47): Error: template std.array.array(Range
Okay. If you call until like so
str.until('\"')
you get a Until!(pred,string,char). I want to turn that into a string.
array() doesn't seem to do the trick right now. It used to work, but now it
gives me
main.d(47): Error: template std.array.array(Range) if (isForwardRange!
(Range)) does not m
12 matches
Mail list logo