<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/Source/Core/DiscIO/VolumeVerifier.cpp, branch 2503a</title>
<subtitle>GameCube and Wii emulator</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/'/>
<entry>
<title>Fix build with minizip-ng 4.0.8</title>
<updated>2025-01-19T09:30:41+00:00</updated>
<author>
<name>Joshua Vandaële</name>
<email>joshua@vandaele.software</email>
</author>
<published>2025-01-11T11:19:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=fa442dc90b23060b910e366e4074fb9b4453c252'/>
<id>fa442dc90b23060b910e366e4074fb9b4453c252</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify `std::search` with `Common::ContainsSubrange`</title>
<updated>2025-01-01T17:52:03+00:00</updated>
<author>
<name>mitaclaw</name>
<email>140017135+mitaclaw@users.noreply.github.com</email>
</author>
<published>2024-10-01T18:41:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=527841f1df2f4411a1f64ae439275cedcfc13bfa'/>
<id>527841f1df2f4411a1f64ae439275cedcfc13bfa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify `std::find` with `Common::Contains`</title>
<updated>2025-01-01T17:52:03+00:00</updated>
<author>
<name>mitaclaw</name>
<email>140017135+mitaclaw@users.noreply.github.com</email>
</author>
<published>2024-09-21T05:17:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=110d32729ecbe5b19df9b2cc76de630334410589'/>
<id>110d32729ecbe5b19df9b2cc76de630334410589</id>
<content type='text'>
In NandPaths.cpp, the `std::initializer_list&lt;char&gt;` of illegal characters has been turned into a `char[]` (similar to the one in GameList.cpp).

The reverse iteration in ResourcePack.cpp seemed to provide no benefits, and doing without it it seemed to have no ill effects.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In NandPaths.cpp, the `std::initializer_list&lt;char&gt;` of illegal characters has been turned into a `char[]` (similar to the one in GameList.cpp).

The reverse iteration in ResourcePack.cpp seemed to provide no benefits, and doing without it it seemed to have no ill effects.
</pre>
</div>
</content>
</entry>
<entry>
<title>Modernize `std::any_of` with ranges</title>
<updated>2024-12-16T03:54:16+00:00</updated>
<author>
<name>mitaclaw</name>
<email>140017135+mitaclaw@users.noreply.github.com</email>
</author>
<published>2024-10-01T00:26:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=140252ffc0ae71e8b5309bff7d6550189c602702'/>
<id>140252ffc0ae71e8b5309bff7d6550189c602702</id>
<content type='text'>
In WiimoteReal.cpp, JitRegCache.cpp, lambda predicates were replaced by pointers to member functions because ranges algorithms are able invoke those.

In ConvertDialog.cpp, the `std::mem_fn` helper was removed because ranges algorithms are able to handle pointers to member functions as predicates.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In WiimoteReal.cpp, JitRegCache.cpp, lambda predicates were replaced by pointers to member functions because ranges algorithms are able invoke those.

In ConvertDialog.cpp, the `std::mem_fn` helper was removed because ranges algorithms are able to handle pointers to member functions as predicates.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #13090 from mitaclaw/ranges-modernization-1-trivial</title>
<updated>2024-10-15T15:08:55+00:00</updated>
<author>
<name>JosJuice</name>
<email>josjuice@gmail.com</email>
</author>
<published>2024-10-15T15:08:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=07605bf67c6815510688ebf3e71583624c3bfab0'/>
<id>07605bf67c6815510688ebf3e71583624c3bfab0</id>
<content type='text'>
Ranges Algorithms Modernization - Trivial</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ranges Algorithms Modernization - Trivial</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #13095 from mitaclaw/ranges-modernization-6-n</title>
<updated>2024-10-11T19:28:06+00:00</updated>
<author>
<name>Tilka</name>
<email>tilkax@gmail.com</email>
</author>
<published>2024-10-11T19:28:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=d2a56b321fb8957c8bb13911ef2b60a89c244de4'/>
<id>d2a56b321fb8957c8bb13911ef2b60a89c244de4</id>
<content type='text'>
Ranges Algorithms Modernization - N</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ranges Algorithms Modernization - N</pre>
</div>
</content>
</entry>
<entry>
<title>Modernize `std::find_if` with ranges</title>
<updated>2024-10-10T22:28:11+00:00</updated>
<author>
<name>mitaclaw</name>
<email>140017135+mitaclaw@users.noreply.github.com</email>
</author>
<published>2024-09-22T01:09:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=e4fb837f4bf886e9688ea3c12e081a2d7b4e6a75'/>
<id>e4fb837f4bf886e9688ea3c12e081a2d7b4e6a75</id>
<content type='text'>
In BTEmu.cpp, `std::mem_fn` was not necessary for the predicate to compile.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In BTEmu.cpp, `std::mem_fn` was not necessary for the predicate to compile.
</pre>
</div>
</content>
</entry>
<entry>
<title>Modernize `std::binary_search` with ranges</title>
<updated>2024-10-10T07:53:48+00:00</updated>
<author>
<name>mitaclaw</name>
<email>140017135+mitaclaw@users.noreply.github.com</email>
</author>
<published>2024-09-29T05:30:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=728663bdc03dfe20343c45ff36f5fb080b49ffec'/>
<id>728663bdc03dfe20343c45ff36f5fb080b49ffec</id>
<content type='text'>
In VolumeVerifier.cpp, constructing a `std::string_view` of the volume's GameID is unnecessary, as `std::`(`ranges::`)`binary_search` supports heterogeneous lookup. The usage in GameFile.cpp is a perfect example.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In VolumeVerifier.cpp, constructing a `std::string_view` of the volume's GameID is unnecessary, as `std::`(`ranges::`)`binary_search` supports heterogeneous lookup. The usage in GameFile.cpp is a perfect example.
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify `std::copy` with `std::copy_n`</title>
<updated>2024-10-07T22:34:56+00:00</updated>
<author>
<name>mitaclaw</name>
<email>140017135+mitaclaw@users.noreply.github.com</email>
</author>
<published>2024-09-28T22:37:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=7c96762f5f4cf5d9952fbf4093a4173f0ced989a'/>
<id>7c96762f5f4cf5d9952fbf4093a4173f0ced989a</id>
<content type='text'>
+ a surprise `std::memcpy` in VolumeVerifier.cpp.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
+ a surprise `std::memcpy` in VolumeVerifier.cpp.
</pre>
</div>
</content>
</entry>
<entry>
<title>VolumeVerifier: Promote `DEBUG_ASSERT` to `static_assert`</title>
<updated>2024-09-29T06:12:12+00:00</updated>
<author>
<name>mitaclaw</name>
<email>140017135+mitaclaw@users.noreply.github.com</email>
</author>
<published>2024-09-29T06:12:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=c60accc96d87c8d0c9cf7826dddd1afbec2ba5d1'/>
<id>c60accc96d87c8d0c9cf7826dddd1afbec2ba5d1</id>
<content type='text'>
This runtime assertion was added before `std::is_sorted` became constexpr in the codebase.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This runtime assertion was added before `std::is_sorted` became constexpr in the codebase.
</pre>
</div>
</content>
</entry>
</feed>
