message: ENH: use constexpr for one-line const methods
diff: @@ -170,7 +170,7 @@ public:
  * \param [in] component the component to return.
  * \return a reference to the given component of the specified tuple.
  */
  - inline const T & operator()( IndexType pos, IndexType component=0 ) const
  + constexpr const T & operator()( IndexType pos, IndexType component=0 ) const
  { return m_data[ pos * m_num_components + component ]; }
  /*!
  @@ -184,7 +184,7 @@ public:
  * \brief Return a constant pointer to the array of data.
  * \return a constant pointer to the array of data.
  */
  - inline const T* getData() const
  + constexpr const T* getData() const
  { return m_data; }
  //@}
  @@ -249,7 +249,7 @@ public:
  * \brief Return the number of tuples allocated for the data array.
  * \return the amount of space allocated for the data array.
  */
  - inline IndexType getCapacity() const
  + constexpr IndexType getCapacity() const
  { return m_capacity; }
  /*!
  @@ -271,14 +271,14 @@ public:
  * \return true iff the Array stores no elements.
  * \note If the Array is empty the capacity can still be greater than zero.
  */
  - inline bool empty() const
  + constexpr bool empty() const
  { return m_num_tuples == 0; }
  /*!
  * \brief Return the number of tuples stored in the data array.
  * \return the number of tuples stored in the data array.
  */
  - inline IndexType size() const { return m_num_tuples; }
  + constexpr IndexType size() const { return m_num_tuples; }
  /*!
  * \brief Update the number of tuples stored in the data array.
  @@ -290,11 +290,11 @@ public:
  * \brief Get the ratio by which the capacity increases upon dynamic resize.
  * \return The ration by which the capacity increases upon dynamic resize.
  */
  - inline double getResizeRatio() const
  + constexpr double getResizeRatio() const
  { return m_resize_ratio; }
  /*!
  - * \breif Set the ratio by which the capacity increases upon dynamic resize.
  + * \brief Set the ratio by which the capacity increases upon dynamic resize.
  * \param [in] ratio the new resize ratio.
  */
  inline void setResizeRatio( double ratio )
  @@ -304,7 +304,7 @@ public:
  * \brief Get the chunk size of all allocations.
  * \return the chunk size of all allocations.
  */
  - inline IndexType getNumComponents() const
  + constexpr IndexType getNumComponents() const
  { return m_num_components; }
  