VS 2008 irritating copy constructor link dependency
- by Paul Hollingsworth
Hi guys,
I've run into the following annoying and seemingly incorrect behaviour in the Visual Studio 2008 C++ compiler:
Suppose I have a class library - Car.lib - that uses a "Car" class, with a header called "Car.h":
class Car
{
public:
void Drive()
{
Accelerate();
}
void Accelerate();
};
What I'm actually trying to do…