7 Dec
2020
7 Dec
'20
10:27 a.m.
Hello, The erase() and find() member functions do not seem to work on arrays, assuming the syntax is the same as for strings. At first I thought it was only implemented for strings, but I found in the source code the implementation of array_erase and array_find. If I write s.erase(1,1); it works if s is a string, but if I write i.erase(1,1); it does not work, and there's syntax errors no matter what. What can be done to make those member functions work for arrays? -Michael Golub
1402
Age (days ago)
1402
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michael Golub