<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 2, 2020, 08:01 Tom Honermann &lt;<a href="mailto:tom@honermann.net">tom@honermann.net</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div>
    <div>On 7/2/20 1:40 AM, Corentin Jabot
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="auto">
        <div><br>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">On Thu, Jul 2, 2020, 06:25
              Tom Honermann &lt;<a href="mailto:tom@honermann.net" target="_blank" rel="noreferrer">tom@honermann.net</a>&gt; wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div>
                <div>On 7/1/20 3:23 AM, Corentin Jabot wrote:<br>
                </div>
                <blockquote type="cite">
                  <div dir="ltr">
                    <div dir="auto">
                      <div><br>
                        <br>
                        <div class="gmail_quote">
                          <div dir="ltr" class="gmail_attr">On Wed, Jul
                            1, 2020, 00:28 Jens Maurer via Core &lt;<a href="mailto:core@lists.isocpp.org" rel="noreferrer noreferrer" target="_blank">core@lists.isocpp.org</a>&gt;
                            wrote:<br>
                          </div>
                          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 30/06/2020
                            06.15, Corentin Jabot via SG16 wrote:<br>
                            &gt; No, especially wide multi characters
                            that are simply not a thing, let&#39;s not make
                            them one.<br>
                            <br>
                            I don&#39;t follow.  In the status quo working
                            draft, we have in [lex.ccon] p5<br>
                            after the note:<br>
                            <br>
                            &quot;The value of a wide-character literal
                            containing multiple c-char s is
                            implementation-defined.&quot;<br>
                          </blockquote>
                        </div>
                      </div>
                      <div dir="auto"><br>
                      </div>
                      <div dir="auto">I would rather it doesn&#39;t have a
                        name, especially not one that makes it look like
                        it behaves like multi character literals, which
                        it doesn&#39;t (not an int, value computed
                        differently). </div>
                    </div>
                  </div>
                </blockquote>
                Corentin, I don&#39;t understand this statement about
                multicharacter literals having different behavior.  Yes,
                ordinary and wide multicharacter literals have different
                types.  So do ordinary and wide character literals.  For
                both kinds of multicharacter literals, the value is
                implementation-defined; I don&#39;t know where this claim
                that they are computed differently comes from.<br>
              </div>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Look at how they are implemented in practice,
          and look at usages ( or lack thereof in the case of wide
          characters with multiple c-char).</div>
        <div dir="auto">Implementers just pick one one of the c-char and
          encode that.</div>
      </div>
    </blockquote>
    That is exactly the reason these are specified to be
    conditionally-supported with implementation-defined values.<br>
    <blockquote type="cite">
      <div dir="auto">
        <div dir="auto">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div>
                <blockquote type="cite">
                  <div dir="ltr">
                    <div dir="auto">
                      <div dir="auto">As such I would like it if core
                        would consider keeping the above sentence below
                        the table ( same thing for what tom calls
                        conditional characters literals - both of them).</div>
                      <div dir="auto">Giving names to things tends to
                        make them feel more important or intended, which
                        I think we should avoid in this case.</div>
                    </div>
                  </div>
                </blockquote>
                <p>I disagree.  Names are given to make things easier to
                  refer to and discuss.  These different behaviors are
                  clearly intended.  Giving something a name is not
                  synonymous with endorsing it.<br>
                </p>
              </div>
            </blockquote>
          </div>
        </div>
        <div dir="auto">I am afraid the only way I will win this this is
          to convince ewg to make that ill-formed, isn&#39;t it?</div>
      </div>
    </blockquote>
    <p>The goal isn&#39;t to win; it is to have a clear specification.  But
      should a proposal to make them ill-formed be adopted, I would shed
      no tears ;)</p></div></blockquote></div></div><div dir="auto">Yes, we just disagree on what makes the specification clearer, that&#39;s fine!</div><div dir="auto"></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
    <p>(I think it would not be unreasonable to propose removing these
      from the standard because, arguably, the standard should not
      specify anything that is conditionally-supported with
      implementation-defined behavior (unless the implementation-defined
      behavior is selected from a set of options specified by the
      standard; which isn&#39;t the case here)).<br></p></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Agreed, although I think the standard should make that ill-formed, forcing a diagnostic</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><p>
    </p>
    <p>Tom.<br>
    </p>
    <blockquote type="cite">
      <div dir="auto">
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div>
                <p> </p>
                <p>Tom.<br>
                </p>
                <blockquote type="cite">
                  <div dir="ltr">
                    <div dir="auto">
                      <div dir="auto"><br>
                      </div>
                      <div dir="auto">
                        <div class="gmail_quote">
                          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>
                            Jens<br>
_______________________________________________<br>
                            Core mailing list<br>
                            <a href="mailto:Core@lists.isocpp.org" rel="noreferrer noreferrer noreferrer" target="_blank">Core@lists.isocpp.org</a><br>
                            Subscription: <a href="https://lists.isocpp.org/mailman/listinfo.cgi/core" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://lists.isocpp.org/mailman/listinfo.cgi/core</a><br>
                            Link to this post: <a href="http://lists.isocpp.org/core/2020/06/9487.php" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">http://lists.isocpp.org/core/2020/06/9487.php</a><br>
                          </blockquote>
                        </div>
                      </div>
                    </div>
                  </div>
                </blockquote>
                <p><br>
                </p>
              </div>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <p><br>
    </p>
  </div>

</blockquote></div></div></div>

