H
Hicham Mouline
Hello,
I have the following situation:
template<typename Concrete>
class Base {
private:
typedef typename Concrete::Type1 t;
// use type t
};
class Derived : private Base<Derived> {
private:
typedef double Type1;
};
Can this work? I get fairly complicated error messages with which I'm having
a hard time deciphering,
and I'm not sure Type1 is the cause.
Do I need to declare friendship?
regards,
I have the following situation:
template<typename Concrete>
class Base {
private:
typedef typename Concrete::Type1 t;
// use type t
};
class Derived : private Base<Derived> {
private:
typedef double Type1;
};
Can this work? I get fairly complicated error messages with which I'm having
a hard time deciphering,
and I'm not sure Type1 is the cause.
Do I need to declare friendship?
regards,