adapt/adt: Don't add/remove const on return type of attributes

Boost.TypeOf always deduces the type as un-cv-qualified value type, thus const-ized
value type is redundant and inhibiting compiler optimization.
This commit is contained in:
Kohei Takahashi
2018-08-01 20:08:24 +09:00
parent e29b1a07f3
commit 77ebd568e1
2 changed files with 3 additions and 16 deletions

View File

@ -300,7 +300,7 @@ main()
BOOST_MPL_ASSERT((
boost::is_same<
boost::fusion::result_of::back<ns::point const>::type::type,
const int
int
>));
}