DDS4CCM 1.0 FTF Avatar
  1. OMG Issue

DDS4CCM_ — The spec uses $ as string replacement for IDL3+

  • Key: DDS4CCM_-41
  • Legacy Issue Number: 14020
  • Status: closed  
  • Source: Remedy IT ( Johnny Willemsen)
  • Summary:

    The spec uses $ as string replacement for IDL3+. We find this not real and doubt whether a new string substitution should be added to the world. We would propose to use a different form, based on 'variable substitution' as found in unix shells, perl, ruby Two other options where we prefer the first one - use $

    {var} or #{var}

    or %var%; this is much clearer and matches already supported substitution options The new way would be: interface EventsPusher <typename T> { typedef sequence<T> #

    {T}Seq; void push (in #{T}

    Seq events); void push_#

    {T}

    (in T event); }; The other option is to use the C preprocessor way X##Y -> XY It then becomes interface EventsPusher <typename T>

    { typedef sequence<T> T##Seq; void push (in T##Seq events); void push_##T (in T event); }

    ;

  • Reported: DDS4CCM 1.0b1 — Mon, 22 Jun 2009 04:00 GMT
  • Disposition: Resolved — DDS4CCM 1.0b2
  • Disposition Summary:

    Disposition: See issue 13884 for disposition

  • Updated: Sat, 7 Mar 2015 00:50 GMT