Postfixed add_const and remove_const by _on_value_type to express the differences to the STL.

This commit is contained in:
Hauke Heibel
2010-11-26 16:30:45 +01:00
parent 139392488d
commit bf9d25ce58
6 changed files with 22 additions and 22 deletions

View File

@@ -137,7 +137,7 @@ MatrixBase<Derived>::forceAlignedAccess()
*/
template<typename Derived>
template<bool Enable>
inline typename internal::add_const<typename internal::conditional<Enable,ForceAlignedAccess<Derived>,Derived&>::type>::type
inline typename internal::add_const_on_value_type<typename internal::conditional<Enable,ForceAlignedAccess<Derived>,Derived&>::type>::type
MatrixBase<Derived>::forceAlignedAccessIf() const
{
return derived();