
12 Feb
2009
12 Feb
'09
8:27 p.m.
Mathias Gaunard wrote:
A while ago, I offered something like this
any m = 0; apply_visitor<int, double, A>(f, m);
or alternatively, apply_visitor(f, m); with f specifying all overloads in some compile-time reflection structure.
unfortunately, it cannot be made constant-time because std::type_info sucks.
FWIW, I would be really interested in this feature even if it's not constant time. May I hope it will appear in trunk one day?