June 25, 2008 General » Re: Proposal: real struct literals | |||
|---|---|---|---|
| |||
...fake named parameters with templates and typedefs.
typedef int _Foo;
_Foo Foo(int i) { return... | |||
June 25, 2008 General » Re: Generic const - a non-functional view | |||
|---|---|---|---|
| |||
...T) becomes:
{
typedef T elem;
elem[] contents;
}
And const!(element)(array!(T)) becomes:
{
typedef const... | |||
June 25, 2008 General » Re: Generic const - a non-functional view | |||
|---|---|---|---|
| |||
...at. Consider this template:
class array(T){
typedef element T elem;
elem contents[];
}
Maybe I... | |||
June 23, 2008 Issues » [Issue 196] Static assertion involving typedef's base type fails strangely | |||
|---|---|---|---|
| |||
...code would be:
typedef int X;
static if (is(X base == typedef))
{
static assert(is... | |||
June 21, 2008 Issues » [Issue 2158] New: Static associative array initialisation causes segmentation fault | |||
|---|---|---|---|
| |||
...8<-----------------------------------------
import std.stdint: uint_fast64_t;
typedef uint_fast64_t FOO;
class A
{
static... | |||
June 18, 2008 Issues » [Issue 2154] New: static if (is(typeof(E.toString()) : string)) in template broken | |||
|---|---|---|---|
| |||
...str;
}
}
}
class A {
public string toString() {
return "";
}
}
typedef V!(A) VA;
$ dmd -c temp.d... | |||
June 18, 2008 Learn » Re: Initialising invariant associative array | |||
|---|---|---|---|
| |||
...std.stdint: uint_fast64_t;
class A
{
typedef uint_fast64_t FOO;
static invariant FOO... | |||
June 18, 2008 Learn » Initialising invariant associative array | |||
|---|---|---|---|
| |||
...std.stdint: uint_fast64_t;
class A
{
typedef uint_fast64_t FOO;
static invariant FOO... | |||
June 16, 2008 c++.stlsoft » [STLSoft-1.9.44] VC8: iterator_traits missing for class clipboard_format_sequence's iterator | |||
|---|---|---|---|
| |||
...iostream> // std::cout, std::endl
int main()
{
typedef winstl::clipboard_format_sequence::value_type value... | |||
June 12, 2008 Learn » Errors in specification? | |||
|---|---|---|---|
| |||
...property.html int a; int b = 1; typedef int t = 2; t c; t d... | |||
Copyright © 1999-2021 by the D Language Foundation