C++ Logo

sg12

Advanced search

Re: [ub] Remove undefined behavior from the preprocessor

From: Gabriel Dos Reis <gdr_at_[hidden]>
Date: Thu, 17 Oct 2013 09:23:46 -0500
Jason Merrill <jason_at_[hidden]> writes:

| On 10/16/2013 07:49 PM, Lawrence Crowl wrote:
| > For the preprocessor, I would rather not see undiagnosed differences in
| > behavior. Wouldn't it be best to simply poll the vendors and see if
| > they are okay with standardizing on "UCN from splicing"?
|
| Agreed. UCNs are new, we don't need to accommodate variance in existing
| practice here.

well, UCNs are new like 15 years ago or more :-)

The "undefined behavior" in the original description was there to
accomodate divergence in opinions/implementations about how to handle
splicing for UCN tokens. I believe that was a terrible resolution.

-- Gaby

Received on 2013-10-17 16:24:05