Re: ZeroLink: unknown symbol
Re: ZeroLink: unknown symbol
- Subject: Re: ZeroLink: unknown symbol
- From: Thomas Engelmeier <email@hidden>
- Date: Sun, 26 Aug 2007 20:25:19 +0200
On 26.08.2007, at 19:06, Tommy Nordgren wrote:
Sure, in a file "DataAnalysis.cpp" added to the project...
You can't do that. Put it in the header.
You might want to put the implementation in a separate header,
and use explicit instantiation of the template in a small cpp file.
An explicit instantiation has the following form:
template MyTemplateClass<double> ; // For example.
When a template class is instantiated this way, ALL member
functions are created.
.. for the given template parameters (e.g. double)...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden