This looks really neat - and potentially very useful. Sadly, array is one of the most interesting cases - so I'm sure I won't be the only one 'watching this space'.
Thanks Paul PS composite_format is a bit long, but I can't suggest better. Paul A Bristow, Prizet Farmhouse, Kendal, Cumbria, LA8 8AB UK +44 1539 561830 Mobile +44 7714 33 02 04 Mobile mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <snip> > Looking at the error messages, and from what I've heard, it may be that it > has problems with template friends (which is what the operator<< is). If > that's the case, the workaround should be very easy - making it a > free-function template. > > I did that, now, and it works. :) > > At least the vector_pair_test(). The array2D_test() uses a little fancy > code, such as passing the type reference to array as a template parameter, > and it seems MSVC 7.0 has some problems with this. Anyway, that was just to > demonstrate usage with built-in types, as well, such as arrays. I'll look > into it. > > There wasn't really any need for it to be a friend function, as it didn't > access any private parts. It was just defined inside the class for > convenience. > > I've also tested it on Intel C++ 7.0 in strict mode and g++ 3.2, so the code > should be conformant, at least. > > Thanks for the report. I hadn't yet got around to do more portability > testing, but intend to do that, including writing more tests for it. I've > updated the version at Yahoo Groups with the above changes. > > > Regards, > > Terje > > _______________________________________________ > Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost > _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost