Christian Christmann wrote:
On Fri, 17 Mar 2006 17:56:17 +0000, red floyd wrote:

Two things.

1. you generally want to divorce type declarations and variable
declarations.

Sorry, but what do you exactly mean by that?

2. It looks like you might be declaring storeInfo as local to a function.
You can't use a local type declaration as a template param.

This was exactly my problem. But why can't I use a local type declaration
in a template?



Because the Standard says so.
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to