March 02, 2008 General » Re: reature request: fixed point | |||
|---|---|---|---|
| |||
...too hard to do fixed point arithmetic: typedef int Fixed; Fixed fixed(int m, int... | |||
February 21, 2008 Issues » [Issue 1454] IFTI cant deduce parameter if alias argument used | |||
|---|---|---|---|
| |||
...an example:
template<class T> struct Bar
{
typedef T a;
};
template<class T> void foo... | |||
February 20, 2008 Learn » Re: Linear system solver in D? | |||
|---|---|---|---|
| |||
...Although by default, REAL is probably a typedef for double. And lp_solve is actually... | |||
February 20, 2008 Issues » [Issue 1857] New: Runtime segfault while profileing - jump to invalid code address | |||
|---|---|---|---|
| |||
...ARG_TYPES...)(ARG_TYPES args)
{
return null;
}
}
typedef char[] IDENT;
int main()
{
writefln("f");
auto... | |||
February 20, 2008 General » Re: Why can't we define re-assignable const reference variable? | |||
|---|---|---|---|
| |||
...the equivalent in C++ of
class _C {};
typedef _C& C;
But in D there is... | |||
February 18, 2008 General » Re: Remaining const niggles #1 - Custom POD types | |||
|---|---|---|---|
| |||
...next update. The rule is that a typedef can be implicitly converted to/from invariant... | |||
February 17, 2008 General » Re: Remaining const niggles #1 - Custom POD types | |||
|---|---|---|---|
| |||
...is a primitive type
T is a typedef for a pod
T is a struct... | |||
February 17, 2008 General » Re: Remaining const niggles #1 - Custom POD types | |||
|---|---|---|---|
| |||
These two are fine. A typedef should work like the original type. I'm curious... | |||
February 17, 2008 General » Remaining const niggles #1 - Custom POD types | |||
|---|---|---|---|
| |||
...mychar is just a typedef for char. Changing mychar from a typedef to a struct... | |||
February 14, 2008 Issues » [Issue 1834] New: typedeffed primitaves can't lose their constancy | |||
|---|---|---|---|
| |||
...hello world";
char c = s[0]; // OK
typedef char mychar;
alias invariant(mychar)[] mystring;
mystring... | |||
Copyright © 1999-2021 by the D Language Foundation