Test Post
12 Jan 2021Some text here
#include <iostream>
template <typename T>
struct Foo {
T value;
};
template <typename T>
inline auto f = Foo<T>{};
int main() {
f<int>.value = 5;
std::cout << f<int>.value << '\n';
}
Some text here
#include <iostream>
template <typename T>
struct Foo {
T value;
};
template <typename T>
inline auto f = Foo<T>{};
int main() {
f<int>.value = 5;
std::cout << f<int>.value << '\n';
}