Sunday, 15 September 2013

Is #import part of the C++11 standard?

Is #import part of the C++11 standard?

I'm trying to find out whether it's safe to use #import (instead of
#include with include guards) in a cross-platform C++11 library?
The articles I found on SO and elsewhere seem to indicate that #import was
proposed to be included in the C++11 standard, yet judging by answers from
around ~2012 it still seemed to be Microsoft and GCC specific extensions
with import not being an accepted standard.

No comments:

Post a Comment