C++: Difference between NVI and Template Method Patterns? -


what difference between nvi ( non-virtual interface ) , template method patterns?

they seem similar , i've read both they're same , they're subtly different template being somehow more general.

nvi idiom, template method pattern. nvi implementation of template method pattern using dynamic dispatch in c++; possible create template methods in c++ using template metaprogramming eliminate dynamic dispatch.

a pattern more general idiom, , languages may use different idioms implement pattern.


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -