Re: Templated function inlining
Re: Templated function inlining
- Subject: Re: Templated function inlining
- From: Jonny Taylor <email@hidden>
- Date: Sun, 23 Nov 2008 12:27:42 +0000
- Authenticated-sender:
On 23 Nov 2008, at 12:11, Philip Aker wrote:
Using the following placement compiles without errors on my setup (g
++ from Terminal):
template<class Type> class MyClass {
__attribute__((always_inline)) int LowestCost1( void ) const {
return Operator1<Type>::Cost();
}
template<class Operator> __attribute__((always_inline)) int
LowestCost2( void ) const {
return Operator::Cost();
}
Thanks very much Phil, that has done the trick.
_______________________________________________
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