Topic: What's the plan on C99 arrays for C++?


Author: loewis@informatik.hu-berlin.de (Martin v. =?iso-8859-15?q?L=F6wis?=)
Date: Tue, 30 Jul 2002 16:38:59 GMT
Raw View
John Nagle <nagle@animats.com> writes:

>      C99 went off in a FORTRAN-like direction for variable
> length arrays, and is now different from C++ in
> this area.  What's the plan for bringing the languges
> back together?

I don't think there is a precise plan, yet, since the next revision of
the C++ standard is still years away. It has been indicated by
traditional committee members that features of C99 are certainly
candidates for inclusion into the next revision of C++ (based on the
schedule of C, it might be reasonable to expect the next revision of
C++ not before 2008).

It probably would be best if vendors implement those features as
extensions to their C++ compilers (and in fact, some do); that way,
the committee must only codify existing practice.

Regards,
Martin

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]





Author: Allan_W@my-dejanews.com (Allan W)
Date: 31 Jul 2002 11:35:11 GMT
Raw View
John Nagle <nagle@animats.com> wrote
> C99 went off in a FORTRAN-like direction for variable
> length arrays, and is now different from C++ in
> this area.  What's the plan for bringing the languges
> back together?

I'm guessing: round up the tape and glue, because if you
can stick this feature into C++ without coming up with
something too ugly, it's sure to be a keeper.

On the other hand, if you've got some reason why VLA's
simply cannot be brought into C++ -- say, if it breaks
a significant class of programs that are legal today,
or even if it can't reasonably be used with some other
feature -- now would be a good time to tell us all
about it.

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]





Author: John Nagle <nagle@animats.com>
Date: Mon, 29 Jul 2002 21:31:54 GMT
Raw View
     C99 went off in a FORTRAN-like direction for variable
length arrays, and is now different from C++ in
this area.  What's the plan for bringing the languges
back together?

    John Nagle
    Animats

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]