Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ddandd
on Jan 18, 2015
|
parent
|
context
|
favorite
| on:
From Object Algebras to Finally Tagless Interprete...
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:
[1] http://en.wikipedia.org/wiki/Argument-dependent_name_lookup