Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
23cbc2b7
Commit
23cbc2b7
authored
Feb 14, 2021
by
Ralf W. Grosse-Kunstleve
Browse files
Expanding comment for MSVC 2015 workaround.
parent
c51dec40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
include/pybind11/cast.h
include/pybind11/cast.h
+2
-1
No files found.
include/pybind11/cast.h
View file @
23cbc2b7
...
...
@@ -1393,7 +1393,8 @@ struct smart_holder_type_caster : smart_holder_type_caster_load<T>,
// clang-format off
#if defined(_MSC_VER) && _MSC_VER < 1910
// Working around MSVC 2015 bug.
// Working around MSVC 2015 bug. `const` sensitivity is lost.
// SMART_HOLDER_WIP: IMPROVABLE: make common code work with MSVC 2015.
template
<
typename
T_
>
using
cast_op_type
=
detail
::
cast_op_type
<
T_
>
;
#else
template
<
typename
T_
>
...
...
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