Blender Git Loki

Git Commits -> Revision 58ab616

Revision 58ab616 by Sergey Sharybin (cycles-x)
September 14, 2021, 15:01 (GMT)
Cycles X: Switch startswith/endswith to string_view

Currently no functional changes. Making this internal API flexible to
be used for any string-like objects.

The implementation is a bit lower-level than one would expect from the
C++'s string_view. This is because the string_view implementation is
coming from OIIO./

Differential Revision: https://developer.blender.org/D12483

Commit Details:

Full Hash: 58ab616d4c6e5d65d9415bb54845eddb0acf54e7
Parent Commit: d71b3b0
Lines Changed: +16, -14

2 Modified Paths:

/intern/cycles/util/util_string.cpp (+14, -12) (Diff)
/intern/cycles/util/util_string.h (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021