< prev index next >

src/hotspot/share/metaprogramming/integralConstant.hpp

Print this page
rev 47468 : [mq]: fix

*** 42,52 **** // A model of the Integer Constant concept. // T is an integral type, and is the value_type. // v is an integral constant, and is the value. template<typename T, T v> ! struct IntegralConstant : AllStatic { typedef T value_type; static const value_type value = v; typedef IntegralConstant<T, v> type; operator value_type() { return value; } }; --- 42,52 ---- // A model of the Integer Constant concept. // T is an integral type, and is the value_type. // v is an integral constant, and is the value. template<typename T, T v> ! struct IntegralConstant VALUE_OBJ_CLASS_SPEC { typedef T value_type; static const value_type value = v; typedef IntegralConstant<T, v> type; operator value_type() { return value; } };
< prev index next >