Topic: Q: template and exception
Author: Russell Mok <wyrmok@plg.uwaterloo.ca>
Date: 1995/12/13 Raw View
I quickly scan "The C++ Programming Language(2nd ed)" and section 15
of ARM and couldn't find any description about catching a template
class. Is it possible? If so, how to write it correctly? I tried to
compile some test program with g++ 2.7.0 but the compiler rejected my
program.
I tried to throw a template function too and I got an internal
compilation error.
I read an article asking about standard exception hierarchy. Where can
I find more information on that?
Please email your reply. Thanks a whole lot.
Russell
--
Russell Mok
Dept of Computer Science, University of Waterloo
Waterloo, Ontario, Canada N2L 3G1
email: wyrmok@plg.uwaterloo.ca
---
[ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu.
Contact address: std-c++-request@ncar.ucar.edu. The moderation policy
is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]