<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:jdevlieghere@apple.com" title="Jonas Devlieghere <jdevlieghere@apple.com>"> <span class="fn">Jonas Devlieghere</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - can't evaluate basic_string element via operator[]"
href="https://bugs.llvm.org/show_bug.cgi?id=13568">bug 13568</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>jdevlieghere@apple.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WORKSFORME
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - can't evaluate basic_string element via operator[]"
href="https://bugs.llvm.org/show_bug.cgi?id=13568#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - can't evaluate basic_string element via operator[]"
href="https://bugs.llvm.org/show_bug.cgi?id=13568">bug 13568</a>
from <span class="vcard"><a class="email" href="mailto:jdevlieghere@apple.com" title="Jonas Devlieghere <jdevlieghere@apple.com>"> <span class="fn">Jonas Devlieghere</span></a>
</span></b>
<pre>(lldb) b main.cpp:8
Breakpoint 1: where = a.out`main + 51 at main.cpp:8:24, address =
0x0000000100001083
(lldb) r
Process 12217 launched: '/tmp/a.out' (x86_64)
Process 12217 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
frame #0: 0x0000000100001083 a.out`main at main.cpp:8:24
5 {
6 std::u16string ustr = u"Привет!";
7 char16_t uchar = ustr[0];
-> 8 std::cout << (size_t)uchar << std::endl;
9 }
(lldb) p ustr[0]
(std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>,
std::__1::allocator<char16_t> >::value_type) $0 = U+041f u'П'</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>