<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 25.02.2012, at 13:15, Sebastian Redl wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>I can't figure out how to send mails to cxx-abi-dev these days, so I can only send them here.</div><div>Mangling of new-expressions is specified in the current ABI as:</div><div><br></div><div><pre><a name="expressions"><font color="blue"><code>::= [gs] nw <expression>* _ <type> <initializer>         # new (expr-list) type (init)</code></font></a></pre><div><br></div></div><div>where initializer is</div><div><br></div><div><pre><a name="expressions"><font color="blue"><code><initializer> ::= pi <expression>* E                                  # parenthesized initialization</code></font></a></pre><div><br></div></div><div>This is nice for new T(1), but it doesn't explain how to mangle new T{1}. What we need is something like</div><div><br></div><div>::= bi <expression>* E           # braced initialization</div><div><br></div><div>I think this is unambiguous, but I'm not sure.</div></div></blockquote><br></div><div>"bl" (for braced list) is probably better, as it doesn't share a letter with "pi".</div><div><br></div><div>Sebastian</div><br></body></html>