In dialog_runner.h we have:

HTML Code:
// Separate from DialogRunner due to type resolution limitations.
template<typename T>
inline void showDialog(T& dlg)
{
	auto dr=DialogRunner();
	dr.run(dlg);
}
What are these type resolution limitations?