On Wed, 18 Mar 2009, John Peterson wrote: > Nice. Could you not template that on type T as well? I think I > remember a discussion about that on the list a while back and the > conclusion was, you couldn't...
I think the conclusion was "you're supposed to be able to, but Derek's syntax looks correct and yet it's still not working". The auxilliary conclusion was that even if we got it working, that wouldn't be sufficient for Derek, because he needed vector<vector<T> > working too. An unstated corollary was: why the hell doesn't C++ define operator<< for std::vector? It's like 3 lines of code, but it's still annoying that we have to help complete the language *for* them. It's the 21st century! By now we should be arguing about how many different regular expression syntaxes the standard library needs, not about how to print a freaking vector! --- Roy ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
