Quote:
Originally posted by marc
NotRegisteredException ex(__FILE__, __LINE__);
ex.kindOfObject = "user exception factory";
ex.id = id;
throw ex;
I don't see anything wrong with this code. An explicit copy constructor for NotRegisteredException is not necessary, because the constructor that the C++ compiler must create by default is perfectly ok for this.
|
In that case it looks like Forte requires an explicit copy ctor. Perhaps it shouldn't but it does.
-apm
__________________
You are in a maze of twisty little passages, all different.
|