You are not logged in.
Pages: 1
...
#include <libcalg/slist.h>
...
class MultiPlexor;
class Descriptor {
public:
Descriptor();
virtual ~Descriptor();
...
protected:
...
friend class MultiPlexor;
private:
...
MultiPlexor *mux;
};
...
class MultiPlexor {
public:
MultiPlexor();
int eventWait(timeval *timeout = NULL);
void add(Descriptor *dp);
void remove(Descriptor *dp);
private:
slist<Descriptor *> dlist;
};
Offline
You have to post much more code for us to have a chance finding the problem.
Try to create a minimal failure case which you can post here.
But it really looks like the compiler can't find the definition of slist.
Try '#include <slist>'
Offline
Pages: 1