Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
badminton1
· 9y ago · 0 comments
This is indeed confusing:
class Blah<T> where T : Blah<T>
How do you actually satisfy that generic constraint? Should be illegal in my opinion.
Comments
[–]
gacek
9y ago
class Foo : Blah<Foo>
[–]
int_19h
9y ago
And is an extremely common pattern at that.