
Russell Hind wrote:
Looks like this errors have gone now. The only errors I'm getting now are pasted below. The print_helper_t<char[4]> errors may be related to errors Eric Niebler solved in BOOST_FOREACH when dealing with conversions of char arrays and Borland. Perhaps he can help with these?
This shows the problem with Borland and arrays. The following code outputs char[5] const char* I'm not sure how you get around this, though. Cheers Russell #include <iostream> #include <typeinfo> template <typename T> void print_helper_t(T const & t) { std::cout << typeid(T).name() << std::endl << typeid(t).name() << std::endl; } int main(int argc, char* argv[]) { char Hello[5] = {'H','e','l','l','o'}; print_helper_t(Hello); return 0; }