ne555: Are you saying that people generally don't worry about having long implementations in header files when practicing GP? I'm just learning, but have tried to learn (long ago) in the past, so am probably being misguided by all kinds of atavistic best practices from then.
The appeal to me (coming from languages I'm fluent in like Ruby) of GP is what I see as its similarity to duck typing, so I guess another good question here would be, is that an accurate perception?
guestgulkan: I don't think I'm exaggerating it, but it could well be based on a misconception (or an outdated conception). Basically, if I'm getting this right, the compiler can't see two implementation files at the same time, so can't tell what class to compile for. There is an overview of the issue here:
http://stackoverflow.com/questions/3008541/template-class--symbols-not-found
My problem is that none of the solutions posted there really satisfy me, as I have an aversion to putting long implementations into a header file (one that I'll get over if that's no longer frowned upon), and I have multiple targets in my project (due to practicing BDD), so will end up with lots of compiled classes I don't need, or a mess of defines and ifdefs, if I try the suggested solution that includes a .cpp file.
I guess really that I have quite a bit more reading on GP to do!
& thankyou very much for your replies,
Doug.