The example function is referring to a function that wasn't in a class. I.E.
//Header.h
class __declspec(dllimport) foo
{
void glarc() {}; //!!<-this is not what the comment is referring to
void bar()
}
//source.cpp
__declspec(dllexport) void foo::bar() {} //!!<- this is what the comment is referring to
//Header.h
class __declspec(dllimport) foo
{
void glarc() {}; //!!<-this is not what the comment is referring to
void bar()
}
//source.cpp
__declspec(dllexport) void foo::bar() {} //!!<- this is what the comment is referring to
To copy to clipboard, switch view to plain text mode
Bookmarks