A bit more compact

release/4.3a0
dellaert 2014-12-07 18:55:33 +01:00
parent 9194b92cf6
commit 481be10509
1 changed files with 3 additions and 6 deletions

View File

@ -192,16 +192,13 @@ public:
}
BOOST_CONCEPT_USAGE(IsGroup) {
using group::compose;
using group::between;
using group::inverse;
BOOST_STATIC_ASSERT_MSG(
(boost::is_base_of<traits::group_tag, structure_category_tag>::value),
"This type's structure_category trait does not assert it as a group (or derived)");
e = group::traits::identity<T>::value;
g = compose(g, h);
g = between(g, h);
g = inverse(g);
g = group::compose(g, h);
g = group::between(g, h);
g = group::inverse(g);
operator_usage(flavor);
}