Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » true dynamic dispatching with Upp?
Re: true dynamic dispatching with Upp? [message #38193 is a reply to message #38192] Wed, 05 December 2012 04:43 Go to previous message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
Quote:



It depends on whether the exact type of the Elements that you( or more precisely, your code) receives can be determined at compile time or not. If the answer is yes, template specialization is the fastest way to go.



Sorry, this part is BS. If you would know it at compile time, you could write the matching Editor type directly without using any fancy techniques. So it has to be a run-time decision.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Exception handling in Http::Dispatch
Next Topic: TheIDE : allow single translation file in main package
Goto Forum:
  


Current Time: Wed Jul 16 01:39:40 CEST 2025

Total time taken to generate the page: 0.02923 seconds