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
a0e1c709
Commit
a0e1c709
authored
Feb 13, 2021
by
Ralf W. Grosse-Kunstleve
Browse files
DEBUGGING_MSVC_2015: converting `using is_smart_holder_type_caster = std::true_type;` to a struct.
parent
79e3c5d1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/pybind11/cast.h
include/pybind11/cast.h
+1
-1
No files found.
include/pybind11/cast.h
View file @
a0e1c709
...
...
@@ -1186,7 +1186,7 @@ public:
// clang-format on
struct
smart_holder_type_caster_class_hooks
{
using
is_smart_holder_type_caster
=
st
d
::
true_type
;
struct
is_smart_holder_type_caster
{
st
atic
constexpr
bool
value
=
true
;
}
;
static
decltype
(
&
modified_type_caster_generic_load_impl
::
local_load
)
get_local_load_function_ptr
()
{
...
...
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