Am Dienstag, 29. Dezember 2009 22:04:41 schrieb Jean-Michel Personne: > Hello, > > I wrote this : > > <%param> > vector<map<string, string> > vec; > </%param> > > ecppc doesn't like this :( > > It isn't possible ? > It works for me. Whats your problem? Where do you put your "using namespace std" into? If you put it into the <%pre>-section it works fine. Ecppc collects all scope variable declarations to the start of your component. So it does not help you putting "using namespace std" into a <%cpp> section.
I always prefer using fully qualified name like this: <%param> std::vector<std::map<std::string, std::string> > foo; </%param> ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
