message: COMP: conservative use of constexpr for members
  Use constexpr conservatively for class members of non-literal
  types. Different compilers/compiler versions exhibit different
  behavior. The behavior is corrected in C++14, but, for C++11
  it appears that it's safer to use "inline" instead of
  "constexpr" for members.
diff: @@ -260,7 +260,7 @@ public:
  * \param [in] component the component to return.
  * \return a reference to the given component of the specified tuple.
  */
  - constexpr const T & operator()( IndexType pos, IndexType component=0 ) const
  + inline const T & operator()( IndexType pos, IndexType component=0 ) const
  { return m_data[ pos * m_num_components + component ]; }
  /*!
  @@ -273,7 +273,7 @@ public:
  * \brief Return a constant pointer to the array of data.
  * \return a constant pointer to the array of data.
  */
  - constexpr const T* getData() const { return m_data; }
  + inline const T* getData() const { return m_data; }
  /// @}
  @@ -333,7 +333,7 @@ public:
  * \brief Return the number of tuples allocated for the data array.
  * \return the amount of space allocated for the data array.
  */
  - constexpr IndexType capacity() const { return m_capacity; }
  + inline IndexType capacity() const { return m_capacity; }
  /*!
  * \brief Increase the capacity. Does nothing if the new capacity is less
  @@ -353,13 +353,13 @@ public:
  * \return true iff the Array stores no elements.
  * \note If the Array is empty the capacity can still be greater than zero.
  */
  - constexpr bool empty() const { return m_num_tuples == 0; }
  + inline 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.
  */
  - constexpr IndexType size() const { return m_num_tuples; }
  + inline IndexType size() const { return m_num_tuples; }
  /*!
  * \brief Update the number of tuples stored in the data array.
  @@ -371,7 +371,7 @@ public:
  * \brief Get the ratio by which the capacity increases upon dynamic resize.
  * \return The ration by which the capacity increases upon dynamic resize.
  */
  - constexpr double getResizeRatio() const { return m_resize_ratio; }
  + inline double getResizeRatio() const { return m_resize_ratio; }
  /*!
  * \brief Set the ratio by which the capacity increases upon dynamic resize.
  @@ -383,20 +383,20 @@ public:
  * \brief Get the chunk size of all allocations.
  * \return the chunk size of all allocations.
  */
  - constexpr IndexType numComponents() const { return m_num_components; }
  + inline IndexType numComponents() const { return m_num_components; }
  /*!
  * \brief Checks if this array instance points to an external buffer
  * \return status true iff the external buffer constructor was called.
  */
  - constexpr bool isExternal() const { return m_is_external; }
  + inline bool isExternal() const { return m_is_external; }
  #ifdef MINT_USE_SIDRE
  /*!
  * \brief Return a pointer to the sidre::View that this Array wraps.
  * \return a const pointer to a sidre::View.
  */
  - constexpr const sidre::View* getView() const { return m_view; }
  + inline const sidre::View* getView() const { return m_view; }
  #endif
  /// @}
  