template < typename T > struct do_more_stuff
{
staticvoid do_date_specific_stuff() { /* do nothing */ }
};
template <> struct do_more_stuff<Date>
{
staticvoid do_date_specific_stuff() { /* do date specific things */ }
};
template < typename Control > void do_stuff()
{
//..... do a lot here
do_more_stuff<Control>::do_date_specific_stuff() ;
}