#include <iostream>

using namespace std;

namespace Jill {
    int age;
}

namespace Jack {
    int age;
}

int main()
{
    using Jill::age;
    age = 10;
    using namespace Jack; // << 이게 어떻게 동작하는건지 모르겠음
    age = 20;
    cout << age << endl; // 10
    cout << Jill::age << endl; // 20
    cout << Jack::age << endl; // 20
    return 0;
}


using namespace Jack; << 이게 어떻게 동작하는건지 모르겠음

책에는 범위지정연산자를 여러번 사용하는 것과 같다라고하는데 뭔 말인지 아는 사람?