June 07, 2008 Learn » Re: Check the class of objects | |||
|---|---|---|---|
| |||
...class Window { ... };
... // derived classes are defined here
typedef std::vector<std::tr1::shared_ptr<Window... | |||
May 28, 2008 Issues » [Issue 1654] Array concatenation should result in mutable or invariant depending on usage | |||
|---|---|---|---|
| |||
...what I was saying earlier (about a typedef). You could do an is-expression to... | |||
May 20, 2008 General » Re: documentation and papers about const/invariant | |||
|---|---|---|---|
| |||
...appropriate to call D's expanded typedef a typedef and so he gave it a... | |||
May 18, 2008 Learn » Exercise: Translation C++ -> D | |||
|---|---|---|---|
| |||
...sizeof(T) << std::endl;
}
};
int main() {
typedef int T1;
typedef A<int> T2;
B<T1... | |||
May 11, 2008 General » Re: Safer casts | |||
|---|---|---|---|
| |||
...typical trick I often do is this: typedef std::vector<Item*> Items; Items items; items... | |||
May 08, 2008 GDC » [Issue 2078] New: Bizzarre array index out of bounds error with union | |||
|---|---|---|---|
| |||
...return s; } } typedef vector!(float, 3) vector3f; typedef vector!(float, 4) vector4f; typedef vector!(double... | |||
May 03, 2008 General » / single linked homogenous list template | |||
|---|---|---|---|
| |||
...C will look like : typedef void *POINTER; /* General purpose pointer */ typedef struct /* A CONS is... | |||
May 01, 2008 Issues » [Issue 1654] Array concatenation should result in mutable or invariant depending on usage | |||
|---|---|---|---|
| |||
...of Foo? What if Foo is a typedef to int *? There are really two problems... | |||
April 29, 2008 Issues » [Issue 2057] New: Unexpected type names with template typedefs | |||
|---|---|---|---|
| |||
...foo(T)
{
T value;
}
template bar(T)
{
typedef foo!(T) bar;
}
void main(string[] args... | |||
April 29, 2008 Learn » Re: Unexpected type names with template typedefs | |||
|---|---|---|---|
| |||
...d like to see this as well typedef foo!(T) bar(T); or if the... | |||
Copyright © 1999-2021 by the D Language Foundation