From 80f81f9c4b01cc4f513c5b92c52c5a0efb68ecc3 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 22 Jan 2019 17:08:47 +0100 Subject: Cleanup SFINAE in Array/Matrix(initializer_list) ctors and minor doc editing. --- Eigen/src/Core/PlainObjectBase.h | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'Eigen/src/Core/PlainObjectBase.h') diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index 1a996b0aa..04748e5e9 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -527,21 +527,19 @@ class PlainObjectBase : public internal::dense_xpr_base::type } #ifdef EIGEN_PARSED_BY_DOXYGEN - /** - * \brief Construct a vector with fixed number of rows or a rowvector with fixed number of - * columns by passing an initializer list \cpp11 - * - * \only_for_vectors - * - * \warning To construct a vector or rowvector of fixed size, the number of values passed through - * the initializer list must match the the fixed number of rows in the vector case or - * the fixed number of columns in the rowvector case. */ + /** \brief Construct a row of column vector with fixed size from an initializer list of coefficients. \cpp11 + * + * \only_for_vectors + * + * \warning To construct a column (resp. row) vector of fixed length, the number of values passed through + * the initializer list must match the the fixed number of rows (resp. columns) of \c *this. + */ EIGEN_DEVICE_FUNC explicit EIGEN_STRONG_INLINE PlainObjectBase(const std::initializer_list& list); - /** - * \brief Constructs a Matrix or Array and initializes it by elements given by an initializer list of initializer - * lists \cpp11 */ + /** \brief Constructs a Matrix or Array and initializes it by elements given by an initializer list of initializer + * lists \cpp11 + */ EIGEN_DEVICE_FUNC explicit EIGEN_STRONG_INLINE PlainObjectBase(const std::initializer_list>& list); #else // EIGEN_PARSED_BY_DOXYGEN -- cgit v1.2.3