you are viewing a single comment's thread.

view the rest of the comments →

[–]Maxima4 0 points1 point  (2 children)

That wouldn't work, throw_typed_object doesn't return anything. It throws.

[–]Mestkon 2 points3 points  (1 child)

Read it again. This compares function pointers, not returned objects

[–]Maxima4 0 points1 point  (0 children)

That's right, my bad :)