J
Joseph Turian
I try to compile the following:
===
typedef enum { CREATED, ADDED_TO_AGENDA, POPPED_FROM_AGENDA,
DUMMY_LAST_CAT } DStatCat;
class DerivationStatistics {
....
private:
enum {MAX_LENGTH = 1000};
typedef boost::multi_array<unsigned, 3> Array;
static Array(boost::extents[DUMMY_LAST_CAT][MAX_LENGTH][2])
counts;
===
The last line triggers the following compile error:
"error: 'DUMMY_LAST_CAT' was not declared in this scope"
How can I resolve this? Thanks.
Joseph
===
typedef enum { CREATED, ADDED_TO_AGENDA, POPPED_FROM_AGENDA,
DUMMY_LAST_CAT } DStatCat;
class DerivationStatistics {
....
private:
enum {MAX_LENGTH = 1000};
typedef boost::multi_array<unsigned, 3> Array;
static Array(boost::extents[DUMMY_LAST_CAT][MAX_LENGTH][2])
counts;
===
The last line triggers the following compile error:
"error: 'DUMMY_LAST_CAT' was not declared in this scope"
How can I resolve this? Thanks.
Joseph