From c00b913ab38729258733aa012f83e8fedca2607a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaqu=C3=ADn=20M=2E=20L=C3=B3pez=20Mu=C3=B1oz?= Date: Mon, 26 Jun 2006 06:25:50 +0000 Subject: [PATCH] moved up some decls so that they are visible to CW 8.3 as part of another memfuns' default args [SVN r34405] --- include/boost/multi_array/index_range.hpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/include/boost/multi_array/index_range.hpp b/include/boost/multi_array/index_range.hpp index 67006ab..16692bc 100644 --- a/include/boost/multi_array/index_range.hpp +++ b/include/boost/multi_array/index_range.hpp @@ -31,6 +31,13 @@ namespace multi_array { template class index_range { + private: + static index from_start() + { return (std::numeric_limits::min)(); } + + static index to_end() + { return (std::numeric_limits::max)(); } + public: typedef Index index; typedef SizeType size_type; @@ -132,12 +139,6 @@ namespace multi_array { // add conversion to std::slice? - private: - static index from_start() - { return (std::numeric_limits::min)(); } - - static index to_end() - { return (std::numeric_limits::max)(); } public: index start_, finish_, stride_; bool degenerate_;