<feed xmlns='http://www.w3.org/2005/Atom'>
<title>botw/src/KingSystem/Utils/IteratorUtil.h, branch master</title>
<subtitle>Decompilation of The Legend of Zelda: Breath of the Wild (Switch v1.5.0)</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/botw/'/>
<entry>
<title>IteratorUtil: Fix missing constexpr on getIndex()</title>
<updated>2022-07-01T15:01:40+00:00</updated>
<author>
<name>Léo Lam</name>
<email>leo@leolam.fr</email>
</author>
<published>2022-07-01T15:01:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/botw/commit/?id=a58231b44a9dd32120b1d0c6389b2e025eecd596'/>
<id>a58231b44a9dd32120b1d0c6389b2e025eecd596</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>IteratorUtil: Forward (non-reference) return types correctly</title>
<updated>2022-07-01T15:01:40+00:00</updated>
<author>
<name>Léo Lam</name>
<email>leo@leolam.fr</email>
</author>
<published>2022-07-01T14:57:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/botw/commit/?id=0912686d9b4a41fed203215be63f348161dc5e6e'/>
<id>0912686d9b4a41fed203215be63f348161dc5e6e</id>
<content type='text'>
With auto&amp;, an operator[] that returns a value (and not a reference)
would result in the proxy returning a reference to a local temporary,
which is UB
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With auto&amp;, an operator[] that returns a value (and not a reference)
would result in the proxy returning a reference to a local temporary,
which is UB
</pre>
</div>
</content>
</entry>
<entry>
<title>ksys/util: Add range() and indexIter() for convenience</title>
<updated>2022-06-22T18:23:08+00:00</updated>
<author>
<name>Léo Lam</name>
<email>leo@leolam.fr</email>
</author>
<published>2022-06-22T16:27:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/botw/commit/?id=03410f3eb34b677575b0fd6241b4101af92435f2'/>
<id>03410f3eb34b677575b0fd6241b4101af92435f2</id>
<content type='text'>
- range() is similar to Python's range()

- indexIter() can be used to simplify `for (int i = 0, n = c.size(); i &lt; n; ++i)`
  index-based loops
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- range() is similar to Python's range()

- indexIter() can be used to simplify `for (int i = 0, n = c.size(); i &lt; n; ++i)`
  index-based loops
</pre>
</div>
</content>
</entry>
</feed>
