Ellery Newcomer Wrote:
> Ellery Newcomer wrote:
> > Is there currently any way to get something like
> >
> > Tuple!(int,"i") t = tuple(5);
> >
> > to work?
>
> Doh. It looks like
>
> Tuple!(int,"i") t = tuple!(int,"i")(5);
>
> should work, but I'm getting the following error
>
> /home/ellery
> Ellery Newcomer Wrote:
>
> > Is there currently any way to get something like
> >
> > Tuple!(int,"i") t = tuple(5);
> >
> > to work?
Also they are used like:
alias Tuple!(int,5) FOOBAR;
FOOBAR [0] a_uint = FOOBAR[1]; //declares a_uint as an uint with value 5;
http://www.digitalmars.com/d/2.
Ellery Newcomer Wrote:
> Is there currently any way to get something like
>
> Tuple!(int,"i") t = tuple(5);
>
> to work?
Tuples are compile-time constructions. They are immutable.
And btw the types do not coincide
torhu Wrote:
> On 22.04.2009 01:03, zkp0s wrote:
> > |||Ups, wrong newsgroup.|||
> > um.. anyway, is there any rules or whatever about the newsgroups.¿What to
> > do if you post on a wrong newsgroup?
>
> Just post again, no the right newsgroup. If possible, dele
|||Ups, wrong newsgroup.|||
um.. anyway, is there any rules or whatever about the newsgroups.¿What to do if
you post on a wrong newsgroup?
I got a strange error trying to compile gtkD with dmd 2.029 with dsss:
Creating imports for DD-atk
Creating imports for DD-cairo
Creating imports for DD-gdk
Creating imports for DD-gdkpixbuf
Creating imports for DD-gio
Creating imports for DD-glade
Creating imports for DD-glib
Creating impo
Spacen Jasset Wrote:
> Spacen Jasset wrote:
> > I installing a new pc, and so have installed the latest tools
> > specifically dss 0.78
> >
> > I find that when compiling certain things, such as Derelict (dsss net
> > install derelict) or the project I am working on, rebuild runs out of
> > me