13.1.10 Arrays

An array in OMG IDL is mapped to a C++ array definition. For example, consider the following OMG IDL definition:

// OMG IDL
module INVENT
    {
    . . .
    typedef LogItem LogArray[10];
    };

This definition maps to C++ as follows:

// C++
module INVENT
    {
    . . .
    typedef LogItem LogArray[10];
    typedef LogItem LogArray_slice;
    static LogArray_slice * LogArray_alloc(void);
    static void LogArray_free(LogArray_slice *data);

    };