Hard
Dependent qualified names inside a function template
What happens when this program is compiled?
main.cpp
#include <iostream>
template <typename T>
struct Container {
using value_type = T;
template <typename U>
static void tag() { std::cout << "tag\n"; }
};
template <typename T>
void run() {
Container<T>::value_type v{};
Container<T>::tag<int>();
}
int main() {
run<int>();
}42 of 117 in C++