Re: C99 library part of C++ TR1



"P.J. Plauger" <pjp@xxxxxxxxxxxxxx> wrote in message
news:-MydnQi7up0KOZPbnZ2dnUVZ_tadnZ2d@xxxxxxxxxxxxxxx
<albert.neu@xxxxxxxxx> wrote in message
news:1175339432.411898.270730@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
The library perhaps, but not the language. I seriously doubt that
variable length arrays or complex arithmetic will be added to the
Standard C++ language. (There are different, and arguably better,
ways to do both already in C++.)

Indeed arguably, VLA's are IMO the best way to get running programs on *ALL*
platforms. But "the C++ ways" are probably better suited for platforms with
less restrictive performance needs.


.



Relevant Pages

  • Re: Discussing the criticisms
    ... No assignment of arrays or strings (copying can be done via standard functions; assignment of objects having struct or union type is supported) ... If you want to extend the language, suggest it over in CSC, whre I should imagine you'll get reminded that there are *already* languages not dissimilar to C that offer this feature. ... 12:No direct support for object-oriented programming ...
    (comp.lang.c)
  • Re: Theodore Adorno, a prophet of data systems design
    ... I have a program which reads the log file looking for leaks.) ... > The second objection is that the C language leaves certain behaviours ... the way in which C allocates arrays and fails to ... >> The ideal is in fact to be able to create a string, ...
    (comp.programming)
  • Re: why cant functions return arrays
    ... The real problem with the idea of changing C to allow arrays to be ... treated as first-class objects is that there's no good way to do so ... The C language is already quite useful, ... but is really a pointer). ...
    (comp.lang.c)
  • Re: A VB.NET Critique
    ... You believe certain types, like strings and arrays, shouldn't be ... Should the language still ... They *aren't* reference types. ... Under your scheme, every new rectangle declaration just broke, and broke ...
    (comp.programming)
  • Re: c / c++ : is it end of era ?
    ... null-terminated strings doesn't mean that null-terminated strings are a ... That's a design flaw. ... has taken the trouble to learn the language. ... and the other sophistications of when arrays are ...
    (comp.lang.c)