'C++20 No more dependent scope needed [duplicate]

I have upgraded to c++20 recently and noticed that the compiler doesnt throw an error when i dont put typename infront of a dependent cope type alias e.g.

using iterator = (no typename here) std::vector<int>::iterator

Is this now part of the new c++20 standart or is it just a gcc thing and not all compilers do this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source