Y
Hacker News
new
|
ask
|
show
|
jobs
by
morgenkaffee
3810 days ago
It is all magic of Clang or GCC. Once you call the template with T1 the C++ compiler will enforce that your passed type supports the <= operator.