If you want something to adjust "on the fly" then you can't do it with templates. What you want can probably be done with subclassing and virtual methods.