Topic: Trigraph examples question


Author: lfischer@netcom.com (Leonard Fischer)
Date: 1997/08/12
Raw View
I have a question regarding Trigraph sequences, as described in
the [lex.trigraph] section, which is 2.3 in the 2 December 1996
draft.

It seems to clearly define a limited set of 9 Trigraphs which do NOT
include "???" and explicitly states there are no other Trigraphs.

Yet the examples in number 4 which are demonstrating left to right
Trigraph replacement and the fact that a given set of characters
will not be interpreted twice seem to indicate that "???" is converted
to "?".

Can anyone explain this?  Thanks.

Len Fischer
Trax Softworks, Inc.
lenf@traxsoft.com
Voice: 310-649-5800
Fax: 310-649-6200

5840 Uplander Way
Culver City, CA 90230
---
[ 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         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]





Author: Steve Clamage <stephen.clamage@eng.sun.com>
Date: 1997/08/13
Raw View
Leonard Fischer wrote:
>
> I have a question regarding Trigraph sequences, as described in
> the [lex.trigraph] section, which is 2.3 in the 2 December 1996
> draft.
>
> It seems to clearly define a limited set of 9 Trigraphs which do NOT
> include "???" and explicitly states there are no other Trigraphs.
>
> Yet the examples in number 4 which are demonstrating left to right
> Trigraph replacement and the fact that a given set of characters
> will not be interpreted twice seem to indicate that "???" is converted
> to "?".

That was an error in the December draft. That entire paragraph has
been removed because it was redundant, as well as wrong.

--
Steve Clamage, stephen.clamage@eng.sun.com
---
[ 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         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]





Author: David Vandevoorde <daveed@vandevoorde.com>
Date: 1997/08/13
Raw View
Leonard Fischer wrote:
> I have a question regarding Trigraph sequences, as described in
> the [lex.trigraph] section, which is 2.3 in the 2 December 1996
> draft.
>
> It seems to clearly define a limited set of 9 Trigraphs which do NOT
> include "???" and explicitly states there are no other Trigraphs.

I believe that this was brought up in ANSI public comments that
were reviewed last March; I suspect it is corrected in the latest
WP (the one resulting from the post-July-meeting edits).

 Daveed
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu
]





Author: Steve Clamage <stephen.clamage@Eng.Sun.COM>
Date: 1997/08/15
Raw View
Leonard Fischer wrote:
>
> Ah, thanks.  From looking at the FAQ it looks like theres no way
> to see the later updates, please append if in fact there is some
> way I could.  Without actually joining the committee that is, which
> is a bit more commitment and dollars than I'm ready for.  Thanks.

As explained in the FAQ, ANSI and ISO rules allow posting of
the public-comment version of the draft standard. The only
way to get copies of intermediate versions or of the final
standard are to join the committee or to buy a copy.

In earlier times, we were not permitted to post ANY version
of a draft standard. The C++ committee along with other
committees lobbied very hard to get permission to post
the public-comment versions.

--
Steve Clamage, stephen.clamage@eng.sun.com
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu
]





Author: lfischer@netcom.com (Leonard Fischer)
Date: 1997/08/15
Raw View
Ah, thanks.  From looking at the FAQ it looks like theres no way
to see the later updates, please append if in fact there is some
way I could.  Without actually joining the committee that is, which
is a bit more commitment and dollars than I'm ready for.  Thanks.

Len

Steve Clamage (stephen.clamage@eng.sun.com) wrote:

: That was an error in the December draft. That entire paragraph has
: been removed because it was redundant, as well as wrong.
---
[ 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         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]