December 30, 2007 General » Re: PhobosWatch: manifest => enum | |||
|---|---|---|---|
| |||
...non-optimal example.
class OddNumbers
{
// helper type
typedef int FooType;
// state
FooType bar;
Foo()
{
bar... | |||
December 26, 2007 General » Struct method access speed | |||
|---|---|---|---|
| |||
...int i) {
return ap[i];
}
};
int main() {
typedef unsigned int T;
clock_t t;
t... | |||
December 22, 2007 Learn » Re: Base type of a typedef | |||
|---|---|---|---|
| |||
...defined one or more times. Example: ---------------------- typedef int T; typedef T T2; BaseTypedef!(T2) ==> int... | |||
December 22, 2007 Learn » Re: Base type of a typedef | |||
|---|---|---|---|
| |||
...static if( is( T_Type T_BaseType == typedef ) )
{
toStream(stream, cast(T_BaseType)value);
}
Hope... | |||
December 21, 2007 Learn » Base type of a typedef | |||
|---|---|---|---|
| |||
...T typedef: ", is(T == typedef));
typedef T T2;
writefln("is T2 typedef: ", is(T2 == typedef... | |||
December 17, 2007 c++.stlsoft » Re: [stlsoft][fixed_array_1d<>] size overhead | |||
|---|---|---|---|
| |||
...a virtual function. Something along
struct Table
{
typedef fixed_array_1d<T, A, P, false... | |||
December 14, 2007 General » Re: one thing that bugs me about c++ | |||
|---|---|---|---|
| |||
...struct scalar { typedef T type; };
template<typename T>
struct scalar<complex<T> > { typedef T type... | |||
December 12, 2007 General » Re: Walter's second axiom | |||
|---|---|---|---|
| |||
...and a lot different than defining a typedef. As I understand the const/tail-const... | |||
December 12, 2007 General » Re: Walter's second axiom | |||
|---|---|---|---|
| |||
...rather than typedefs ...
struct longS { long x; }
typedef long longT ;
void main()
{
longS foo;
longT... | |||
December 11, 2007 General » Re: Walter's second axiom | |||
|---|---|---|---|
| |||
...a typedef for type T." Under what conditions can it behave exactly like a typedef... | |||
Copyright © 1999-2021 by the D Language Foundation