Addition of is_empty tests and changes to rem processing as a workaround to VC++ problem.
Added variadic is_empty tests.