help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] Reg :: Error in declaring typedef of template class


From: Sumit Adhikari
Subject: [Help-gsl] Reg :: Error in declaring typedef of template class
Date: Wed, 11 Nov 2009 08:49:20 +0530
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4

Hello All,

I have a template class like as follows :

# ifndef M_SIGNAL_INOUT_IF_H_
# define M_SIGNAL_INOUT_IF_H_

# include "m_signal_in_if.h"

template < class T > class m_signal_inout_if : public m_signal_in_if < T > {
   public :
      virtual void write (const T&) = 0 ;
      virtual void initialize(const T&) = 0;
};


# endif /*M_SIGNAL_INOUT_IF_H_*/

I want to declare typedef of m_signal_inout_if and I have done it as follows :

# ifndef M_SIGNAL_OUT_IF_H_
# define M_SIGNAL_OUT_IF_H_


# include "m_signal_inout_if.h"

template < class T > m_signal_inout_if < T >  m_signal_out_if < T > ;


# endif /*M_SIGNAL_OUT_IF_H_*/


But I am getting syntax error in this process.
Can anybody please tell me what is the wrong with it ?
Regards,

--

--------------------------------------------
Sumit Adhikari
System Design Engineer
austriamicrosystems AG
Business Unit : Automotive
Mob : 00-91-9885271710/00-91-9000161710






reply via email to

[Prev in Thread] Current Thread [Next in Thread]