Re: C99 library part of C++ TR1



<albert.neu@xxxxxxxxx> wrote in message
news:1175339432.411898.270730@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

The C99 library is part of C++ TR1.

From: http://www.dinkumware.com/tr1.aspx
comes this information:
[TR1 includes the] "C99 library, including all the numerous functions
added to the C Standard with C99, properly blended into

the C++ environment".

This is interesting, since it means that if C++ compilers adapt to
TR1, C programmers can effectively use the entire C99 (with those TR1-
compliant compilers), without any problems!

The C++ committee has already voted to include all the C99 additions
from TR1 (which is essentially the entire C99 library) in the next
revision of Standard C++, a.k.a. C++0X.

And that C99 code, can then interface nicely with C++ TR1, including
all the C++ constructs (that are not part of C99)
I wonder if C99 is really 100% a subset of C++ TR1.?

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++.) Note, however, that the C99 and
C++ preprocessors have already been reconciled for C++0X.

P.J. Plauger
Dinkumware, Ltd.
http://www.dinkumware.com


.



Relevant Pages

  • Re: So what Standard are we working off?
    ... continuing to improve the language. ... standard, the addition of "auto" alone seems to make the standard ... there are basically no C99 compilers and there is no demand from ... support), and 2) Non-determinable integer scalar sizes, that are not ...
    (comp.lang.c)
  • Re: Why the C committee doesnt provide an implementation when the standard is published?
    ... It is THE de-facto standard on the desktop. ... have pointed out recently the current crop of MS compilers are very good ... diverged one way whilst C went a different way 95 and C99. ... and quite a number of C99 language features. ...
    (comp.lang.c)
  • Re: Zero terminated strings
    ... I believe misinterpreted NUL termination is unique to the C language. ... the C99 Standard, ... just so they can have a warm fuzzy feeling about their strings. ...
    (comp.lang.c)
  • Re: Zero terminated strings
    ... to go maybe the standard *WOULD* be adopted! ... you that the reason people didn't adopt C99 is because C99 is in of ... real issues of the language and add a lot of stuff that looks completely ... irrelevant to developers today. ...
    (comp.lang.c)
  • Re: So what Standard are we working off?
    ... But C99 basically addresses none of these problems over C89. ... problems with the C language: 1) No simple way to express a high-word ... with that "de facto standard". ... int8_t denotes a signed integer type with a width of exactly 8 bits. ...
    (comp.lang.c)