103
103
class Glib::ustring_Iterator< T ></h3>
105
105
<p>The iterator type of <a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring</a>. </p>
106
<p>Note this is not a random access iterator but a bidirectional one, since all index operations need to iterate over the UTF-8 data. Use <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01608.html#a2d43d8e656c1d71e14e398cdd726af37">std::advance()</a> to move to a certain position. However, all of the relational operators are available: <code>== != < > <= >=</code></p>
106
<p>Note this is not a random access iterator but a bidirectional one, since all index operations need to iterate over the UTF-8 data. Use <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01622.html#a2d43d8e656c1d71e14e398cdd726af37">std::advance()</a> to move to a certain position. However, all of the relational operators are available: <code>== != < > <= >=</code></p>
107
107
<p>A writeable iterator isn't provided because: The number of bytes of the old UTF-8 character and the new one to write could be different. Therefore, any write operation would invalidate all other iterators pointing into the same string. </p>
108
108
</div><hr/><h2>Member Typedef Documentation</h2>
109
109
<a class="anchor" id="aa32792b92260dd761d004c690b972068"></a>