TheTramp

Members
  • Content count

    56
  • Joined

  • Last visited

Community Reputation

122 Neutral

About TheTramp

  • Rank
    Member
  1. Convert templated class.

    One way would be to derive the Timer<> classes from a TimerBase class which has a protected Set() method using some base type, i.e doubles. Include this in the Timer<> classes to set all the member variables up and then you rewrite your operator Timer<T2>() function to use Temp.Set(mElapsedMS, mInvMSFrequency ...)