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  |
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.
|
|
|
Goto Forum:
Current Time: Wed Jul 16 01:39:40 CEST 2025
Total time taken to generate the page: 0.02923 seconds
|