template<unsigned int size>class foo
//returns a reference to arr
//want to provide a cast operator to cast foo to a reference to a static char array of length size. syntax seems to follow the same rules as above, but the compiler doesn't like it. is this possible?
operator char (&())[size]