I\'ve compiled this in gcc and g++ with pedantic and I don\'t get a warning in either one:
#include #include #include
Yes, this is fine; the bolded part of the quote in your question covers this case.