Merk
Tilgang til denne siden krever autorisasjon. Du kan prøve å logge på eller endre kataloger.
Tilgang til denne siden krever autorisasjon. Du kan prøve å endre kataloger.
'namespace-name': non-inline namespace cannot be reopened as inline
Remarks
The inline keyword may be used on a namespace definition extension only if it was also used on the original namespace definition.
To resolve this issue, make the use of the inline specifier consistent across all parts of the namespace.
Example
The following example generates C2049:
// C2049.cpp
namespace ns {}
inline namespace ns {} // C2049
Possible resolution:
// C2049b.cpp
namespace ns {}
namespace ns {}