MCPcopy Create free account
hub / github.com/MyGUI/mygui / operator-

Method operator-

MyGUIEngine/src/MyGUI_UString.cpp:140–148  ·  view source on GitHub ↗

--------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

138 }
139 //--------------------------------------------------------------------------
140 UString::_fwd_iterator UString::_fwd_iterator::operator-(difference_type n)
141 {
142 _fwd_iterator tmp(*this);
143 if (n < 0)
144 tmp._seekFwd(-n);
145 else
146 tmp._seekRev(n);
147 return tmp;
148 }
149 //--------------------------------------------------------------------------
150 UString::_fwd_iterator& UString::_fwd_iterator::operator+=(difference_type n)
151 {

Callers

nothing calls this directly

Calls 2

_seekFwdMethod · 0.80
_seekRevMethod · 0.80

Tested by

no test coverage detected