Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
4a53d38b
Commit
4a53d38b
authored
Jun 22, 2016
by
Wenzel Jakob
Browse files
only deprecate call() function if C++14 is available
parent
f88af0c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
include/pybind11/pytypes.h
include/pybind11/pytypes.h
+2
-0
No files found.
include/pybind11/pytypes.h
View file @
4a53d38b
...
...
@@ -40,7 +40,9 @@ public:
inline
pybind11
::
str
str
()
const
;
template
<
typename
T
>
T
cast
()
const
;
template
<
typename
...
Args
>
#if __cplusplus > 201103L
[[
deprecated
(
"call(...) was deprecated in favor of operator()(...)"
)]]
#endif
object
call
(
Args
&&
...
args
)
const
;
template
<
typename
...
Args
>
object
operator
()(
Args
&&
...
args
)
const
;
inline
object
operator
()(
detail
::
args_proxy
args
)
const
;
...
...
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