Lines Matching full: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}}
60 It begin();
96 __range.begin(); // expected-error {{use of undeclared identifier '__range'}}
114 void begin(); // expected-note {{selected 'begin' function with iterator type 'void'}}
121 int *begin(); // expected-note {{selected 'begin' function with iterator type 'int *'}}
124 for (auto a : Differ()) // expected-error {{'begin' and 'end' must return the same type (got 'int *' and 'null_t')}}
135 for (auto u : X::NoBeginADL()) { // expected-error {{invalid range expression of type 'X::NoBeginADL'; no viable 'begin' function available}}
144 null_t begin();
146 for (auto u : NoBegin()) { // expected-error {{range type 'NoBegin' has 'end' member but no 'begin' member}}
148 for (auto u : NoEnd()) { // expected-error {{range type 'NoEnd' has 'begin' member but no 'end' member}}
152 void *begin(); // expected-note {{selected 'begin' function with iterator type 'void *'}}
160 NoNotEq begin(); // expected-note {{selected 'begin' function with iterator type 'NoNotEq'}}
169 NoDeref begin(); // expected-note {{selected 'begin' function}}
182 int *begin();
188 for (int n : 42) { // expected-error {{invalid range expression of type 'int'; no viable 'begin' function available}}
210 for (auto u : t) { // expected-error {{invalid range expression of type 'X::A *'; no viable 'begin' function available}} \
211 expected-error {{member function 'begin' not viable}} \
212 expected-note {{when looking up 'begin' function}}
221 int *begin(StdBeginEnd);
225 for (auto a : StdBeginEnd()) {} // expected-error {{invalid range expression of type 'StdBeginEnd'; no viable 'begin'}}
230 int *begin(ADL); // expected-note {{no known conversion from 'NS::NoADL' to 'NS::ADL'}}
235 int *begin(NS::NoADL);
239 void begin(VoidBeginADL); // expected-note {{selected 'begin' function with iterator type 'void'}}
245 for (auto u : NS::NoADL()) { // expected-error {{invalid range expression of type 'NS::NoADL'; no viable 'begin' function available}}