Compiler Error C2883
'name' : function declaration conflicts with 'identifier' introduced by using-declaration
You tried to define a function more than once. The first definition was made from a namespace with a using
declaration. The second was a local definition.
The following sample generates C2883:
// C2883.cpp
namespace A {
void z(int);
}
int main() {
using A::z;
void z(int); // C2883 z is already defined
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for