moved up some decls so that they are visible to CW 8.3 as part of another memfuns' default args

[SVN r34405]
This commit is contained in:
Joaquín M. López Muñoz
2006-06-26 06:25:50 +00:00
parent 8ce8ab8c8a
commit c00b913ab3

View File

@@ -31,6 +31,13 @@ namespace multi_array {
template <typename Index,typename SizeType>
class index_range {
private:
static index from_start()
{ return (std::numeric_limits<index>::min)(); }
static index to_end()
{ return (std::numeric_limits<index>::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<index>::min)(); }
static index to_end()
{ return (std::numeric_limits<index>::max)(); }
public:
index start_, finish_, stride_;
bool degenerate_;