Mercurial > projects > dwt-linux
comparison dwt/dwthelper/utils.d @ 27:ffa3c27c4328
Display
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 09 Jan 2008 01:08:22 +0100 |
parents | 09f5459a5014 |
children | 10acbb123580 |
comparison
equal
deleted
inserted
replaced
26:09f5459a5014 | 27:ffa3c27c4328 |
---|---|
16 | 16 |
17 abstract class ArrayWrapper{ | 17 abstract class ArrayWrapper{ |
18 } | 18 } |
19 | 19 |
20 class ArrayWrapperT(T) : ArrayWrapper { | 20 class ArrayWrapperT(T) : ArrayWrapper { |
21 T[] array; | 21 public T[] array; |
22 public this( T[] data ){ | |
23 array = data; | |
24 } | |
22 } | 25 } |
23 | 26 |
24 alias ArrayWrapperT!(int) ArrayWrapperInt; | 27 alias ArrayWrapperT!(int) ArrayWrapperInt; |
25 alias ArrayWrapperT!(Object) ArrayWrapperObject; | 28 alias ArrayWrapperT!(Object) ArrayWrapperObject; |
26 | 29 |