Search

June 25, 2008
General »
...fake named parameters with templates and typedefs.

typedef int _Foo;
_Foo Foo(int i) { return...
June 25, 2008
General »
...T) becomes:

{
   typedef T elem;
   elem[] contents;
}

And const!(element)(array!(T)) becomes:

{
   typedef const...
June 25, 2008
General »
...at.  Consider this template:

class array(T){
  typedef element T elem;
  elem contents[];
}

Maybe I...
June 23, 2008
Issues »
...code would be:

typedef int X;

static if (is(X base == typedef))
{
    static assert(is...
June 21, 2008
Issues »
...8<-----------------------------------------
import std.stdint: uint_fast64_t;

typedef uint_fast64_t FOO;

class A
{
    static...
June 18, 2008
Issues »
...str;
      }
    }
}

class A {
  public string toString() {
    return "";
  }
}

typedef V!(A) VA;


$ dmd -c temp.d...
June 18, 2008
Learn »
...std.stdint: uint_fast64_t;

class A
{
    typedef uint_fast64_t FOO;

    static invariant FOO...
June 18, 2008
Learn »
...std.stdint: uint_fast64_t;

class A
{
    typedef uint_fast64_t FOO;

    static invariant FOO...
June 16, 2008
c++.stlsoft »
...iostream>     // std::cout, std::endl

int main()
{
   typedef winstl::clipboard_format_sequence::value_type value...
June 12, 2008
Learn »
...property.html

int a;
int b = 1;
typedef int t = 2;
t c;
t d...
214 215 216 217 218 219 220 221 222 223 224
Next ›   Last »