* linux编译修正
This commit is contained in:
+2
-2
@@ -57,13 +57,13 @@ public:
|
||||
constexpr T& at(size_t i)
|
||||
{
|
||||
if (i >= N)
|
||||
throw std::out_of_range();
|
||||
throw std::out_of_range("dl::Array::at outrange");
|
||||
return _data[i];
|
||||
}
|
||||
constexpr const T& at(size_t i) const
|
||||
{
|
||||
if (i >= N)
|
||||
throw std::out_of_range();
|
||||
throw std::out_of_range("dl::Array::at outrange");
|
||||
return _data[i];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user