Commit 32ef69ac by Jason Rhinelander

Qualify `cast_op_type` to help ICC

parent 835fa9bc
......@@ -835,7 +835,7 @@ public:
nullptr, nullptr, holder);
}
template <typename T> using cast_op_type = cast_op_type<T>;
template <typename T> using cast_op_type = detail::cast_op_type<T>;
operator itype*() { return (type *) value; }
operator itype&() { if (!value) throw reference_cast_error(); return *((itype *) value); }
......
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