lemon/error.h
changeset 271 cea3cb3bbcd7
parent 209 765619b7cbb2
child 280 e7f8647ce760
equal deleted inserted replaced
2:cc70dedce4c1 3:d42d75680846
    68 
    68 
    69     ExceptionMember& operator=(const ExceptionMember& copy) throw() {
    69     ExceptionMember& operator=(const ExceptionMember& copy) throw() {
    70       if (ptr.get() == 0) return;
    70       if (ptr.get() == 0) return;
    71       try {
    71       try {
    72         if (!copy.valid()) return;
    72         if (!copy.valid()) return;
    73          *ptr = copy.get();
    73         *ptr = copy.get();
    74       } catch (...) {}
    74       } catch (...) {}
    75     }
    75     }
    76 
    76 
    77     void set(const Type& type) throw() {
    77     void set(const Type& type) throw() {
    78       if (ptr.get() == 0) return;
    78       if (ptr.get() == 0) return;