lemon/bits/utility.h
changeset 2151 38ec4a930c05
parent 2078 123f08422c14
child 2177 416a7030b7e3
equal deleted inserted replaced
2:0b0fa1206ea2 3:350368d38e7a
   159     typedef _First First;
   159     typedef _First First;
   160     typedef _Second Second;
   160     typedef _Second Second;
   161 
   161 
   162     struct WrongStateError : public lemon::LogicError {
   162     struct WrongStateError : public lemon::LogicError {
   163     public:
   163     public:
   164       virtual const char* exceptionName() const {
   164       virtual const char* what() const throw() {
   165         return "lemon::BiVariant::WrongStateError";
   165         return "lemon::BiVariant::WrongStateError";
   166       }
   166       }
   167     };
   167     };
   168 
   168 
   169     BiVariant() {
   169     BiVariant() {