simplify test for better compat.
dont need volatile
a few changes for VS2015 compat.
Hi Brock, The problem is that UNITTEST_RUN(test_with_default_template_argument) actually leads to illegal C++ (at least given the C++11 standard, maybe different in 17) so gcc should complain in the first place. When you look at the definition of UNITTEST_RUN you'll see that &__test_class__::test_method requires a completely template-instantiated type and method. Even if a template argument is defaulted the instantiation must still at least do <>. Try doing this: UNITTEST_RUN(test_with_default_template_argument<>)....
ensure const cast to prevent compilation errors...