… | |
… | |
131 | #endif |
131 | #endif |
132 | |
132 | |
133 | struct loop_ref |
133 | struct loop_ref |
134 | { |
134 | { |
135 | |
135 | |
136 | loop_ref (EV_P) throw (bad_loop) |
136 | loop_ref (EV_P) |
137 | #if EV_MULTIPLICITY |
137 | #if EV_MULTIPLICITY |
138 | : EV_AX (EV_A) |
138 | throw (bad_loop) : EV_AX (EV_A) |
139 | #endif |
|
|
140 | { |
139 | { |
141 | #if EV_MULTIPLICITY |
|
|
142 | if (!EV_AX) |
140 | if (!EV_AX) |
143 | throw bad_loop (); |
141 | throw bad_loop (); |
144 | #endif |
142 | } |
|
|
143 | #else |
|
|
144 | throw () |
145 | } |
145 | { |
|
|
146 | } |
|
|
147 | #endif |
146 | |
148 | |
147 | bool operator == (const loop_ref &other) const throw () |
149 | bool operator == (const loop_ref &other) const throw () |
148 | { |
150 | { |
149 | #if EV_MULTIPLICITY |
151 | #if EV_MULTIPLICITY |
150 | return EV_AX == other.EV_AX; |
152 | return EV_AX == other.EV_AX; |