This commit is contained in:
root
2026-06-15 21:42:50 +00:00
parent 34a97e2577
commit 99cd92fb4a
126 changed files with 1615 additions and 1057 deletions
+17
View File
@@ -0,0 +1,17 @@
:sig
template<typename F> StringList StringList::map(F f) const
:params
f : mapper called with each String
return value : new list of mapped strings
:see
0_StringList
2_StringList_filter
:content
Returns a new `StringList` containing the mapper result for each item, in the same order.
```cpp
StringList upper = names.map([](String s) { return(to_upper(s)); });
```