Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I believe that a similar approach can also be used in C++ with the help of ADL [1] and some template magic. Though it may only work on expressions whose concrete type may be known at compile-time (which makes it pretty useless).

[1] http://en.wikipedia.org/wiki/Argument-dependent_name_lookup



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: