I need to split one class (.h file)
#ifndef _L_H
#define _L_H
template<class L> class Myclass{
public:
L();
firstoperator(..);
secondoperator(..);
private:
...
}
template <class L> Myclass<L>::L() ...
template <class L> Myclass<L>::firstoperator(..) ...
template <class L> Myclass<L>::secondoperator(..) ...
in two different .h file in the following form:
#ifndef _L_H
#define _L_H
template<class L> class Myclass{
public:
L();
firstoperator(..);
private:
...
}
template <class L> Myclass<L>::L() ...
template <class L> Myclass<L>::firstoperator(..) ...
#ifndef _L_H
#define _L_H
template<class L> class Myclass{
public:
secondoperator(..);
}
template <class L> Myclass<L>::secondoperator(..) ...
how can I do it correctly without conflict?
Thank you in advance.