xxxxxxxxxx
import std.stdio;
import std.container;
enum KeyID: uint
{
KEY_A,
KEY_S,
KEY_D,
KEY_W
}
struct KeyController
{
KeyID ID;
bool isDown;
}
void main()
{
auto rbt1 = new RedBlackTree!(KeyController, (a, b)=>a.ID < b.ID);
auto rbt2 = redBlackTree!((a, b)=>a.ID < b.ID, KeyController);
}