I have just found out that the following is not valid.
//Header File
class test
{
const static char array[] = { \'1\', \'2\', \'3\' };
};
You can always do the following:
class test {
static const char array(int index) {
static const char a[] = {'1','2','3'};
return a[index];
}
};
A couple nice things about this paradigm: