L
Lloyd Dupont
due to cross reference I need to separate declaration and implementation.
in my header I have something like that:
--StyledRange.h--
generic <class T> ref class StyledRange;
generic <class T> public ref class StyledItem
{
StyledItem(StyledRange<T>^ r, int pos, int len);
}
--StyledRange.cpp--
StyledItem::StyledItem(NText::StyledRange<T>^ r, int pos, int len)
{
}
but this cpp file don't compiles it says: use of class generic requires
generic argument list.
but I didn't manage to find the right syntax :-(
Anyone knows?
in my header I have something like that:
--StyledRange.h--
generic <class T> ref class StyledRange;
generic <class T> public ref class StyledItem
{
StyledItem(StyledRange<T>^ r, int pos, int len);
}
--StyledRange.cpp--
StyledItem::StyledItem(NText::StyledRange<T>^ r, int pos, int len)
{
}
but this cpp file don't compiles it says: use of class generic requires
generic argument list.
but I didn't manage to find the right syntax :-(
Anyone knows?