Lines Matching refs:TransformArrayRef
31 class TransformArrayRef {
67 TransformArrayRef(const TransformArrayRef& other) = default;
70 TransformArrayRef(const ArrayRef<OtherBT>& base, Function fn) in TransformArrayRef() function
75 TransformArrayRef(const TransformArrayRef<OtherBT, Function>& other) in TransformArrayRef() function
76 : TransformArrayRef(other.base(), other.GetFunction()) { } in TransformArrayRef()
80 TransformArrayRef& operator=(const TransformArrayRef& other) = default;
84 TransformArrayRef& operator=(const TransformArrayRef<OtherBT, Function>& other) {
85 return *this = TransformArrayRef(other.base(), other.GetFunction());
89 ~TransformArrayRef() = default;
120 TransformArrayRef SubArray(size_type pos) { in SubArray()
121 return TransformArrayRef(base().subarray(pos), GetFunction()); in SubArray()
123 TransformArrayRef SubArray(size_type pos) const { in SubArray()
124 return TransformArrayRef(base().subarray(pos), GetFunction()); in SubArray()
126 TransformArrayRef SubArray(size_type pos, size_type length) const { in SubArray()
127 return TransformArrayRef(base().subarray(pos, length), GetFunction()); in SubArray()
159 friend class TransformArrayRef; variable
163 bool operator==(const TransformArrayRef<BaseType, Function>& lhs,
164 const TransformArrayRef<BaseType, Function>& rhs) {
169 bool operator!=(const TransformArrayRef<BaseType, Function>& lhs,
170 const TransformArrayRef<BaseType, Function>& rhs) {
175 TransformArrayRef<ValueType, Function> MakeTransformArrayRef( in MakeTransformArrayRef()
177 return TransformArrayRef<ValueType, Function>(container, f); in MakeTransformArrayRef()
181 TransformArrayRef<typename Container::value_type, Function> MakeTransformArrayRef( in MakeTransformArrayRef()
183 return TransformArrayRef<typename Container::value_type, Function>( in MakeTransformArrayRef()
188 TransformArrayRef<const typename Container::value_type, Function> MakeTransformArrayRef( in MakeTransformArrayRef()
190 return TransformArrayRef<const typename Container::value_type, Function>( in MakeTransformArrayRef()