diff options
Diffstat (limited to 'src/array_fun.h')
| -rw-r--r-- | src/array_fun.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/array_fun.h b/src/array_fun.h index 0c2327f4..157456fb 100644 --- a/src/array_fun.h +++ b/src/array_fun.h @@ -250,6 +250,16 @@ public: { return _array[index]; } + + operator T*() + { + return _array; + } + + operator const T*() const + { + return _array; + } }; } // namespace aria2 |
