Commit 77df801
native_proto_caster.h: Add
The
* `copyable_holder_caster_shared_ptr_with_smart_holder_support_enabled` and
* `move_only_holder_caster_unique_ptr_with_smart_holder_support_enabled`
SFINAE helpers were introduced with pybind/pybind11#5257. They need to be specialized here (`std::false_type`) because native_proto_caster.h has its own specializations for
* `copyable_holder_caster<ProtoType, std::shared_ptr<ProtoType>>` and
* `move_only_holder_caster<ProtoType, std::unique_ptr<ProtoType>>`.
PiperOrigin-RevId: 658807442*_with_smart_holder_support_enabled specializations.1 parent 84653a5 commit 77df801
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
94 | 108 | | |
95 | 109 | | |
96 | 110 | | |
| |||
0 commit comments