I am from a C background and when creating lookup tables I always used to create a struct of the type i wanted and then create an array of that struct type. As this was a static table I could initialise the whole table when I declared it.

I am trying to do the same in Managed C++ and it appears it is not a straight forward as good old C. The code I am trying, below, is giving me a compile time error saying:

"error C2440: 'initializing' : cannot convert from 'int' to 'thales_esecurity::User:ermissions_s ^'"

Code:
// Example structure
ref struct permissions_s
{
   int one;
   int two;
   bool valid;
};

// Create static instance of structure and populate it
static array <permissions_s^>^ permissions =
{
   { 1, 1, true },
   { 1, 1, true },
   { 1, 2, false },
   { 2, 2, true }
};
Any ideas? please tell me what I'm doing wrong

Many thanks