[libc++][NFC] Rewrite function call on two lines for clarity (#79141)
commit72c9425a79fda8e9001fcde091e8703f9fb2a43a
authorLouis Dionne <ldionne.2@gmail.com>
Wed, 24 Jan 2024 14:28:58 +0000 (24 09:28 -0500)
committerllvmbot <60944935+llvmbot@users.noreply.github.com>
Sat, 15 Jun 2024 17:21:32 +0000 (15 10:21 -0700)
tree7839eaf9df01aa826f6b97497d486fbbd63fd6a2
parent443e23eed24d9533566f189ef25154263756a36d
[libc++][NFC] Rewrite function call on two lines for clarity (#79141)

Previously, there was a ternary conditional with a less-than comparison
appearing inside a template argument, which was really confusing because
of the <...> of the function template. This patch rewrites the same
statement on two lines for clarity.

(cherry picked from commit 382f70a877f00ab71f3cb5ba461b52e1b59cd292)
libcxx/include/string