Browse Source

Fixed more Doxygen C++11 incompatibilities.

pull/279/head
Vladimír Vondruš 14 years ago
parent
commit
cbedb9fe61
  1. 4
      src/Math/Matrix3.h
  2. 4
      src/Math/Matrix4.h

4
src/Math/Matrix3.h

@ -53,7 +53,11 @@ template<class T> class Matrix3: public Matrix<T, 3> {
* Note that the values are in column-major order.
*/
/* doxygen: @copydoc Matrix::Matrix(T, U&&...) doesn't work */
#ifndef DOXYGEN_GENERATING_OUTPUT
template<class ...U> inline constexpr Matrix3(T first, U&&... next): Matrix<T, 3>(first, std::forward<U>(next)...) {}
#else
template<class ...U> inline constexpr Matrix3(T first, U&&... next);
#endif
/** @copydoc Matrix::Matrix(const Matrix<T, size>&) */
inline constexpr Matrix3(const Matrix<T, 3>& other): Matrix<T, 3>(other) {}

4
src/Math/Matrix4.h

@ -122,7 +122,11 @@ template<class T> class Matrix4: public Matrix<T, 4> {
* Note that the values are in column-major order.
*/
/* doxygen: @copydoc Matrix::Matrix(T, U&&...) doesn't work */
#ifndef DOXYGEN_GENERATING_OUTPUT
template<class ...U> inline constexpr Matrix4(T first, U&&... next): Matrix<T, 4>(first, std::forward<U>(next)...) {}
#else
template<class ...U> inline constexpr Matrix4(T first, U&&... next);
#endif
/** @copydoc Matrix::Matrix(const Matrix<T, size>&) */
inline constexpr Matrix4(const Matrix<T, 4>& other): Matrix<T, 4>(other) {}

Loading…
Cancel
Save