This should compile:template<class T>struct Assign_Low_High{ static const int low_value = 0;};//in order to compile remove "class IntType," from template<class IntType, class L>template<class IntType, class L>struct Range{ static_assert(Assign_Low_High<L>::low_value < 1, "Incorrect Range");};int main(){ //in order to compile remove "int," from Range<int,float> Range<int,float> r; return 0;}Interesting thing here is that it will compile if you remove "class IntType," from struct Range template definition
Visual Studio/Silverlight/Tooling version
What category (if any) best represents this feedback?
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results
Please wait...