Fixed compile problem.
parent
d1fec1a90d
commit
491fd91af6
|
|
@ -74,10 +74,13 @@ namespace traits {
|
|||
|
||||
/// Define the trait that specifies Cyclic's identity element
|
||||
template<size_t N> struct identity<Cyclic<N> > {
|
||||
static const Cyclic<N> value = Cyclic<N>(0);
|
||||
static const Cyclic<N> value;
|
||||
typedef Cyclic<N> value_type;
|
||||
};
|
||||
|
||||
template<size_t N>
|
||||
const Cyclic<N> identity<Cyclic<N> >::value = Cyclic<N>(0);
|
||||
|
||||
/// Define the trait that asserts Cyclic is an additive group
|
||||
template<size_t N> struct flavor<Cyclic<N> > {
|
||||
typedef additive_tag type;
|
||||
|
|
|
|||
Loading…
Reference in New Issue