bug #1391: include IO.h before DenseBase to enable its usage in DenseBase plugins.

This commit is contained in:
Gael Guennebaud
2017-02-13 09:46:20 +01:00
parent b3750990d5
commit e7ebe52bfb
3 changed files with 12 additions and 16 deletions

View File

@@ -109,20 +109,6 @@ class WithFormat
IOFormat m_format;
};
/** \returns a WithFormat proxy object allowing to print a matrix the with given
* format \a fmt.
*
* See class IOFormat for some examples.
*
* \sa class IOFormat, class WithFormat
*/
template<typename Derived>
inline const WithFormat<Derived>
DenseBase<Derived>::format(const IOFormat& fmt) const
{
return WithFormat<Derived>(derived(), fmt);
}
namespace internal {
// NOTE: This helper is kept for backward compatibility with previous code specializing