Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
a0496ac8
Commit
a0496ac8
authored
Apr 30, 2021
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some overloaded C++ string methods that we missing (actually using optional arguments).
parent
ec086a88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
19 deletions
+30
-19
Cython/Includes/libcpp/string.pxd
Cython/Includes/libcpp/string.pxd
+30
-19
No files found.
Cython/Includes/libcpp/string.pxd
View file @
a0496ac8
...
...
@@ -97,47 +97,58 @@ cdef extern from "<string>" namespace "std" nogil:
size_t
copy
(
char
*
,
size_t
,
size_t
)
except
+
size_t
find
(
const
string
&
,
size_t
pos
)
size_t
find
(
const
string
&
)
size_t
find
(
const
string
&
,
size_t
)
size_t
find
(
const
char
*
,
size_t
pos
,
size_t
)
size_t
find
(
const
char
*
,
size_t
pos
,
size_t
n
)
size_t
find
(
const
char
*
,
size_t
pos
)
size_t
find
(
char
,
size_t
pos
)
size_t
find
(
const
char
*
)
size_t
find
(
char
c
,
size_t
pos
)
size_t
find
(
char
c
)
size_t
rfind
(
const
string
&
,
size_t
)
size_t
rfind
(
const
char
*
s
,
size_t
,
size_t
)
size_t
rfind
(
const
string
&
,
size_t
pos
)
size_t
rfind
(
const
string
&
)
size_t
rfind
(
const
char
*
s
,
size_t
pos
,
size_t
n
)
size_t
rfind
(
const
char
*
,
size_t
pos
)
size_t
rfind
(
char
c
,
size_t
)
size_t
rfind
(
const
char
*
)
size_t
rfind
(
char
c
,
size_t
pos
)
size_t
rfind
(
char
c
)
size_t
find_first_of
(
const
string
&
,
size_t
)
size_t
find_first_of
(
const
char
*
s
,
size_t
,
size_t
)
size_t
find_first_of
(
const
string
&
,
size_t
pos
)
size_t
find_first_of
(
const
string
&
)
size_t
find_first_of
(
const
char
*
s
,
size_t
pos
,
size_t
n
)
size_t
find_first_of
(
const
char
*
,
size_t
pos
)
size_t
find_first_of
(
char
c
,
size_t
)
size_t
find_first_of
(
const
char
*
)
size_t
find_first_of
(
char
c
,
size_t
pos
)
size_t
find_first_of
(
char
c
)
size_t
find_first_not_of
(
const
string
&
,
size_t
)
size_t
find_first_not_of
(
const
string
&
,
size_t
pos
)
size_t
find_first_not_of
(
const
string
&
)
size_t
find_first_not_of
(
const
char
*
s
,
size_t
,
size_t
)
size_t
find_first_not_of
(
const
char
*
,
size_t
pos
)
size_t
find_first_not_of
(
char
c
,
size_t
)
size_t
find_first_not_of
(
const
char
*
)
size_t
find_first_not_of
(
char
c
,
size_t
pos
)
size_t
find_first_not_of
(
char
c
)
size_t
find_last_of
(
const
string
&
,
size_t
)
size_t
find_last_of
(
const
char
*
s
,
size_t
,
size_t
)
size_t
find_last_of
(
const
string
&
,
size_t
pos
)
size_t
find_last_of
(
const
string
&
)
size_t
find_last_of
(
const
char
*
s
,
size_t
pos
,
size_t
n
)
size_t
find_last_of
(
const
char
*
,
size_t
pos
)
size_t
find_last_of
(
char
c
,
size_t
)
size_t
find_last_of
(
const
char
*
)
size_t
find_last_of
(
char
c
,
size_t
pos
)
size_t
find_last_of
(
char
c
)
size_t
find_last_not_of
(
const
string
&
,
size_t
)
size_t
find_last_not_of
(
const
char
*
s
,
size_t
,
size_t
)
size_t
find_last_not_of
(
const
string
&
,
size_t
pos
)
size_t
find_last_not_of
(
const
string
&
)
size_t
find_last_not_of
(
const
char
*
s
,
size_t
pos
,
size_t
n
)
size_t
find_last_not_of
(
const
char
*
,
size_t
pos
)
size_t
find_last_not_of
(
const
char
*
)
size_t
find_last_not_of
(
char
c
,
size_t
pos
)
size_t
find_last_not_of
(
char
c
)
string
substr
(
size_t
,
size_t
)
except
+
string
substr
()
string
substr
(
size_t
)
except
+
size_t
find_last_not_of
(
char
c
,
size_t
)
size_t
find_last_not_of
(
char
c
)
#string& operator= (const string&)
#string& operator= (const char*)
#string& operator= (char)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment