Replace safe_bool with explicit conversion operators