Created
February 11, 2013 18:14
-
-
Save jpf91/4756308 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class RedBlackTree(alias less) | |
{ | |
int a; | |
struct Range | |
{ | |
auto @property empty() | |
{ | |
return a; | |
} | |
} | |
Range opSlice() | |
{ | |
return Range(); | |
} | |
} | |
void main() | |
{ | |
void a(){} | |
auto t = new RedBlackTree!(a); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment