Use new m_SelectCst template to eliminate macros.