3 ms·
I just did; what I couldn't figure out, was is there a way to specify multiple different exception types in your C++ throw()? In Java, you can do: public int
by davedx 15y ago
I just did; what I couldn't figure out, was is there a way to specify multiple different exception types in your C++ throw()?
In Java, you can do:
public int myfunc(int a, int b) throws IOException, InvalidGoatException {}
How would you do this in C++?
- cbsmith 15y agoYou can do much the same thing, only the meaning is the reverse.