I'm using openDDS pub/sun middleware. I have tested openDDS using complex structure.
e.g .
typedef struct DSMD
    {
          string a;           
          long b;
    } StandByModeData;
   struct DSMCD{        
    string SessionId;       
    DSMD Data;
  };
but now I have different structure.which is pass over the openDDS.
how can I use template in idl structure?
I need something like this.
template <struct T> 
struct array { 
  T typr;
};