added const modifiers to constexpr member functions