Remove operator type *() unique_ptr, and & (not sure how they would be useful).

This commit is contained in:
Ralf W. Grosse-Kunstleve 2024-07-04 08:25:06 -07:00
parent d4fc392ebe
commit 391d7726ad

View File

@ -1001,14 +1001,6 @@ public:
return false; // BAKEIN_WIP: What is the best behavior here?
}
explicit operator type *() {
throw std::runtime_error("BAKEIN_WIP: operator type *() unique_ptr");
}
explicit operator type &() {
throw std::runtime_error("BAKEIN_WIP: operator type &() unique_ptr");
}
template <typename>
using cast_op_type = std::unique_ptr<type, deleter>;