
29 Sep
2004
29 Sep
'04
8:20 p.m.
David Abrahams wrote:
Jesse Jones <jesjones@mindspring.com> writes:
1) Compile time. Yes, this solution is strongly compile time. But I think it is an advantage :-)
I disagree. The biggest benefit of multimethods is that they are flexible.
Yeah. It's hard to imagine how "compile-time multimethods" would be any different from what C++ already provides in terms of overload resolution and partial ordering.
There is something more then runtime and compile-time. It's initialization time. Multimethods might be initialized with lots of MPL and other cool compile-time stuff and yet might being used at runtime flexibly. -- Alexander Nasonov