November 06, 2008 General » Re: null and type safety | |||
|---|---|---|---|
| |||
...just this purpose. So if: typedef int:1..6 TyDice; typedef TyDice:1..3 TyHalfDice... | |||
November 05, 2008 General » Re: null and type safety | |||
|---|---|---|---|
| |||
...stats(Dice[] throwing_results) { ...
Where Dice is:
typedef int:1..7 Dice;
I then don... | |||
November 05, 2008 c++.stlsoft » associative_selector_iterator | |||
|---|---|---|---|
| |||
...that the associative_selector_iterator declare a typedef with a distance_type for the I... | |||
October 31, 2008 Learn » Unittests, templates | |||
|---|---|---|---|
| |||
...t strict enough, because it accepts all typedef-ined types as long as they have... | |||
October 30, 2008 General » Re: opImplicitCast/opImplicitCastFrom | |||
|---|---|---|---|
| |||
...unchecked, or wraparound: typedef Bounded!(int, 1, 7, OnOverflow.nocheck) TyDice1; typedef Bounded!(char, 'a... | |||
October 30, 2008 General » Re: opImplicitCast/opImplicitCastFrom | |||
|---|---|---|---|
| |||
...all integral values: typedef int : 1 .. 7 TyDice1; // int in [1, 6] typedef ubyte : 1... | |||
October 27, 2008 General » Re: opImplicitCast/opImplicitCastFrom | |||
|---|---|---|---|
| |||
...uint_unsafe', and provide 'uint' as a typedef of Bounded!(uint_unsafe.min, uint_unsafe... | |||
October 27, 2008 General » Re: opImplicitCast/opImplicitCastFrom | |||
|---|---|---|---|
| |||
...write 'typedef' for each line of code instead of using a typedef section like typedef... | |||
October 25, 2008 Issues » [Issue 2416] Slice of typedef'ed array should preserve the typedef'ed type | |||
|---|---|---|---|
| |||
...Therefore the code is valid, just like typedef int Value; Value a, b, c; ... a... | |||
October 24, 2008 General » Re: defered new feature | |||
|---|---|---|---|
| |||
...test113.d -o test113 && ./test113 module test113; typedef bool Bogus; const Bogus bogus = false; class... | |||
Copyright © 1999-2021 by the D Language Foundation