0

I'm a bit new to templates in C++ (I'm mostly a C guy) and wanted to see if I could create a result template.
What I want to know is if there any pitfalls/oversights in my code. You can assume that the types R and E represent types with a "default constructor". That is, R res; and E err; can bo...