28-04-2016, 04:21 PM
For headers included by other C and C++ headers it is vital to use extern "C++".
But the rule implicitly forbids it by only allowing 3 kind of top level declarations.
Is it really intended to use this as the only compliant way:
But the rule implicitly forbids it by only allowing 3 kind of top level declarations.
Is it really intended to use this as the only compliant way:
Code:
extern "C"
{
extern "C++"
{
namespace MY_API
{
}
}
}
<t></t>