Lines Matching refs:template
43 // This file contains the following template functions:
52 template<typename _T> inline const _T& min(const _T& left, const _T& right)
58 template<typename _T> inline const _T& max(const _T& left, const _T& right)
64 template<typename _T> inline void swap(_T& left, _T& right)
75 template<typename _Category>
77 template<typename _InputIterator, typename _OutputIterator>
89 template<>
91 template<typename _InputIterator, typename _OutputIterator>
116 template<typename _InputIterator, typename _OutputIterator>
135 template<bool> struct __fill
137 template<typename _T> static void fill(_T *begin, const _T *end,
145 template<> struct __fill<true> // scalar version
147 template<typename _T> static void fill(_T *begin, const _T *end,
157 template<typename _T> void fill(_T *begin, _T *end, const _T& value)
192 template<bool> struct __fill_n
194 template<typename _T> static _T *fill_n(_T *begin, size_t num,
205 template<> struct __fill_n<true> // scalar version
207 template<typename _T> static _T *fill_n(_T *begin, size_t num,
220 template<typename _T> _T *fill_n(_T *begin, size_t n, const _T& value)
261 template<typename _InputIterator1, typename _InputIterator2>
281 template<typename _InputIterator1, typename _InputIterator2, typename _BinaryPredicated>