M
Size: a a a
M
АХ
a
a
А
P
a
P
t
L
YZ
L
YZ
L
А
a
P
AV
class Buffer<T extends NativeType> {
...
Buffer(){
if (T is Double || T is Float || T is Int32 /* ... */) {
Pointer<T> awesomePtr = allocate<T>();
awesomePtr.value = 1;
...
The setter 'value' isn't defined for the class 'Pointer<T>'.
Как гарантировать, что Pointer<T>
имеет поле value
не зависимо от T
?