Lines Matching defs:begin

4   int begin;
6 for (int& it : x) { // expected-error {{invalid range expression of type 'int'; no viable 'begin' function available}}
17 auto begin(T &&t) -> decltype(t.begin()) { return t.begin(); } // expected-note 2{{ignored: substitution failure}}
22 auto begin(T &&t) -> decltype(t.alt_begin()) { return t.alt_begin(); } // expected-note {{selected 'begin' template [with T = }} \
29 int begin(int);
37 int *begin(); // expected-note 3{{selected 'begin' function with iterator type 'int *'}} expected-note {{'begin' declared here}}
84 __range.begin(); // expected-error {{use of undeclared identifier '__range'}}
102 void begin(); // expected-note {{selected 'begin' function with iterator type 'void'}}
109 int *begin(); // expected-note {{selected 'begin' function with iterator type 'int *'}}
112 for (auto a : Differ()) // expected-error {{'begin' and 'end' must return the same type (got 'int *' and 'null_t')}}
123 for (auto u : X::NoBeginADL()) { // expected-error {{invalid range expression of type 'X::NoBeginADL'; no viable 'begin' function available}}
132 null_t begin();
134 for (auto u : NoBegin()) { // expected-error {{range type 'NoBegin' has 'end' member but no 'begin' member}}
136 for (auto u : NoEnd()) { // expected-error {{range type 'NoEnd' has 'begin' member but no 'end' member}}
140 void *begin(); // expected-note {{selected 'begin' function with iterator type 'void *'}}
148 NoNotEq begin(); // expected-note {{selected 'begin' function with iterator type 'NoNotEq'}}
157 NoDeref begin(); // expected-note {{selected 'begin' function}}
170 int *begin();
176 for (int n : 42) { // expected-error {{invalid range expression of type 'int'; no viable 'begin' function available}}
198 for (auto u : t) { // expected-error {{invalid range expression of type 'X::A *'; no viable 'begin' function available}} \
199 expected-error {{member function 'begin' not viable}} \
200 expected-note {{when looking up 'begin' function}}
209 int *begin(StdBeginEnd);
213 for (auto a : StdBeginEnd()) {} // expected-error {{invalid range expression of type 'StdBeginEnd'; no viable 'begin'}}
218 int *begin(ADL); // expected-note {{no known conversion from 'NS::NoADL' to 'NS::ADL'}}
223 int *begin(NS::NoADL);
227 void begin(VoidBeginADL); // expected-note {{selected 'begin' function with iterator type 'void'}}
233 for (auto u : NS::NoADL()) { // expected-error {{invalid range expression of type 'NS::NoADL'; no viable 'begin' function available}}