8187462: IntegralConstant should not be AllStatic
Changed base class to VALUE_OBJ_CLASS_SPEC Reviewed-by: coleenp
This commit is contained in:
parent
4073e46a77
commit
7704492287
@ -44,7 +44,7 @@
|
||||
// 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 {
|
||||
struct IntegralConstant VALUE_OBJ_CLASS_SPEC {
|
||||
typedef T value_type;
|
||||
static const value_type value = v;
|
||||
typedef IntegralConstant<T, v> type;
|
||||
|
Loading…
x
Reference in New Issue
Block a user