Jon Stewart on Thu, 23 Sep 2004 13:15:08 -0500 (CDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [ALACPP] compilation error


> 
> 	Throwing a pair of parens at the end of the "throw MyException;" line s
> eems to solve the problem.  I think the issue is that the parameter to the th
> row is actual data where MyException is a classname.  The int(1) (and the MyE
> xception()) bring a temporary variable into existence which is apparently val
> id.  I think...  But my books are still packed up from my move...


Ah, so. You're right. Double dumbass on me for forgetting the parens -- 
it's just a constructor call after all.


Jon
-- 
Jon Stewart                                 Advanced Los Angeles C++
stew1@xxxxxxxxxxx                           http://www.alacpp.org
_______________________________________________
alacpp mailing list
alacpp@xxxxxxxxxxx
http://lists.ellipsis.cx/mailman/listinfo/alacpp