November 20, 2007 General » Re: toString vs. toUtf8 | |||
|---|---|---|---|
| |||
...to use UTF internally, use typedefs like "typedef char lat1", and keep unknown encodings as... | |||
November 10, 2007 General » Re: An interesting observation | |||
|---|---|---|---|
| |||
...int, not to mention saving typing. I feel a global typedef coming on... Regards, Bruce. | |||
November 08, 2007 Learn » Re: Raytracing speed again, this time with gdc. | |||
|---|---|---|---|
| |||
...U) { T first=void; U second=void; }
typedef Pair!(double, Vec) Hit;
struct Ray { Vec... | |||
November 08, 2007 Learn » Re: Raytracing speed again, this time with gdc. -- "oops" remedied | |||
|---|---|---|---|
| |||
...0.00 void ray1.Group.intersect(inout typedef ray1.Hit, inout struct ray1.Ray, void... | |||
November 08, 2007 Learn » Re: Raytracing speed again, this time with gdc. | |||
|---|---|---|---|
| |||
...0.00 void ray1.Group.intersect(inout typedef ray1.Hit, inout struct ray1.Ray, void... | |||
November 07, 2007 General » Re: D2 cast away const | |||
|---|---|---|---|
| |||
...Mutable(T : T[])
{
alias typeof(T)[] Mutable;
}
typedef creates a new distinct type, and for... | |||
November 05, 2007 General » Re: D2 cast away const | |||
|---|---|---|---|
| |||
...this works
template(T) { typedef T Mutable; }
template(T:const(T)[]) { typedef T[] Mutable; }
Then... | |||
November 01, 2007 Issues » [Issue 724] templated circular typedef in function causes: template.c:2735: TemplateDeclaration* TemplateInstance::findTemplateDeclaration(Scope*): Assertion `s->parent' failed. | |||
|---|---|---|---|
| |||
http://d.puremagic.com/issues/show_bug.cgi?id=724
bugzilla@digitalmars.com changed:
What... | |||
October 30, 2007 Learn » Re: still confused about call by reference | |||
|---|---|---|---|
| |||
...it uses real. It's because I use the following typedef: typedef vec3!(real) color; | |||
October 30, 2007 Learn » Re: still confused about call by reference | |||
|---|---|---|---|
| |||
...type vec3!(real) is not an expression". (typedef double real) btw is it possible to... | |||
Copyright © 1999-2021 by the D Language Foundation