diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-24 21:46:42 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-24 21:46:42 +0900 |
| commit | 10cdc59297f4e1327217008f2ae073c400959df2 (patch) | |
| tree | 2f586b0842aba8162e37497e25a1ddd6ceb156e6 /src/array_fun.h | |
| parent | d2ec57057e591810ebbb5febb34ae0cadf5068c5 (diff) | |
Remove vbegin and vend in favor of std::begin and std::end
Diffstat (limited to 'src/array_fun.h')
| -rw-r--r-- | src/array_fun.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/array_fun.h b/src/array_fun.h index b2b1cb7c..ed562ed8 100644 --- a/src/array_fun.h +++ b/src/array_fun.h @@ -53,18 +53,6 @@ char (&char_array_ref_fun(T (&)[0u]))[0u]; // To calculate size of array at compile time, we use macro here. #define A2_ARRAY_LEN(X) sizeof(char_array_ref_fun(X)) -template<typename T, size_t N> -T* vbegin(T (&a)[N]) -{ - return a; -} - -template<typename T, size_t N> -T* vend(T (&a)[N]) -{ - return a+N; -} - template<typename T> class array_ptr { private: |
