B
Barry
I have the following class which won't compile in VS2008.
#include "Image.h"
class b : public std::map<const b_e, const Image>
{
public:
enum b_e {ONE,TWO};
};
How would you fix this problem? The only solution I have come up with
is this -
#include "Image.h"
class b
{
public:
enum b_e {ONE,TWO};
std::map<const b_e, const Image> i;
};
but is there a better way of doing it?
Thanks,
Barry.
#include "Image.h"
class b : public std::map<const b_e, const Image>
{
public:
enum b_e {ONE,TWO};
};
How would you fix this problem? The only solution I have come up with
is this -
#include "Image.h"
class b
{
public:
enum b_e {ONE,TWO};
std::map<const b_e, const Image> i;
};
but is there a better way of doing it?
Thanks,
Barry.