P
pookiebearbottom
Let's say I have headers Sal.h with this class
class Sal
{
public:
int doit() { return 1;}
};
now I know that the compilier can choose NOT to inline this function.
So if I include this in two different libraries, they both choose to
NOT inline it, and then I link to both libs, am I going to get/should I
get a redefinition error?
-sal
class Sal
{
public:
int doit() { return 1;}
};
now I know that the compilier can choose NOT to inline this function.
So if I include this in two different libraries, they both choose to
NOT inline it, and then I link to both libs, am I going to get/should I
get a redefinition error?
-sal