Y
Hacker News
new
|
ask
|
show
|
jobs
by
bstamour
3336 days ago
That's because gcc supports it as an extension to C++. It's not an official part of the language, and using it in C++ code is therefore not portable across compilers/platforms.
1 comments
saghm
3336 days ago
clang++ seems to work as well. I don't have a Windows machine handy to try MSVC, though
link