DASH  0.3.0
OutOfRange.h
1 #ifndef DASH__EXCEPTION__OUT_OF_RANGE_H_
2 #define DASH__EXCEPTION__OUT_OF_RANGE_H_
3 
4 #include <dash/exception/InvalidArgument.h>
5 #include <stdexcept>
6 #include <string>
7 
8 namespace dash {
9 namespace exception {
10 
11 class OutOfRange : public ::std::out_of_range {
12 public:
13  OutOfRange(const ::std::string & msg)
14  : ::std::out_of_range(msg) {
15  }
16 };
17 
18 } // namespace exception
19 } // namespace dash
20 
21 #endif // DASH__EXCEPTION__OUT_OF_RANGE_H_
This class is a simple memory pool which holds allocates elements of size ValueType.
Definition: AllOf.h:8