GMCS throws exception when compiling struct with pointers inside generic type
もずはっく日記のスタイルをものまねしてみるテスト(w いやこれは同じくらい1日に何件もfixできないとさまにならないんだけどね…
Genericsが関係するとunsafeもNGになったりする。
public class FooこれはOK。でも
{
unsafe private struct Node
{
private Node * left, right;
private Node * parent;
}
}
public class Foo<T>これはNG。
{
unsafe private struct Node
{
private Node * left, right;
private Node * parent;
}
}