| 309 | typedef PolyBase<variant,create_type_input,error_handle_traits> ThisType; |
| 310 | public: |
| 311 | poly as_poly() const{ |
| 312 | return p_Copy(ptr->p,ptr->getRing()); |
| 313 | } |
| 314 | template<class T> void checkIsSameRing(T& p){ |
| 315 | if (error_handle_traits::handleErrors){ |
| 316 | if (p.getRing()!=this->getRing()){ |