1 /* Bug #1671 reported by davisking on 2018.01.28 */ 2 3 template <long x, typename enabled=void> 4 struct tabs { const static long value = x; }; 5 6 // specialize tabs 7 template <long x> 8 struct tabs<x,typename enable_if_c<(x<0)>::type> { const static long value = -x; }; 9 my_function()10void my_function() 11 { 12 } 13