|
@@ -238,16 +238,6 @@ public:
|
|
delete [] _array;
|
|
delete [] _array;
|
|
}
|
|
}
|
|
|
|
|
|
- T& operator[](size_t index)
|
|
|
|
- {
|
|
|
|
- return _array[index];
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- const T& operator[](size_t index) const
|
|
|
|
- {
|
|
|
|
- return _array[index];
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
operator T*()
|
|
operator T*()
|
|
{
|
|
{
|
|
return _array;
|
|
return _array;
|
|
@@ -266,16 +256,6 @@ private:
|
|
public:
|
|
public:
|
|
array_wrapper() {}
|
|
array_wrapper() {}
|
|
|
|
|
|
- T& operator[](size_t index)
|
|
|
|
- {
|
|
|
|
- return _array[index];
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- const T& operator[](size_t index) const
|
|
|
|
- {
|
|
|
|
- return _array[index];
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
operator T*()
|
|
operator T*()
|
|
{
|
|
{
|
|
return _array;
|
|
return _array;
|