Answers for "C++ C2027"

C++
0

C++ C2027

// C2027_b.cpp
class A;
A& CreateA();

class B;
B* CreateB();

int main() {
   CreateA();   // C2027
   CreateB();   // OK
}
Posted by: Guest on July-24-2021

Browse Popular Code Answers by Language