#include <vector>

struct S
{
    std::vector<int> v;
    void method()
    {
        std::begin(v);
    }

    auto begin() {  using std::begin; return (begin)(v); }
};

int main(){
	S s;
	s.method();
}