"example/example-smart-ptr.py" did not exist on "38bd71134a428d641d8ca34b3ea94358a387703d"
Commit 04ef0dd6 authored by Ralf W. Grosse-Kunstleve's avatar Ralf W. Grosse-Kunstleve
Browse files

Applying move_only_holder_caster_sfinae.patch (copybara cannot handle the combination).

parent 95425f13
......@@ -2260,7 +2260,7 @@ template <typename T>
class type_caster<std::shared_ptr<T>> : public copyable_holder_caster<T, std::shared_ptr<T>> { };
#endif
template <typename type, typename holder_type>
template <typename type, typename holder_type, typename SFINAE = void>
struct move_only_holder_caster {
static_assert(std::is_base_of<type_caster_base<type>, type_caster<type>>::value,
"Holder classes are only supported for custom types");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment