From: SourceForge.net <no...@so...> - 2004-09-15 02:21:14
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=2759556 By: adah A problem lies in the line: print_map<T, T::value_type>(map_); You should have written (or T::value_type will not be parsed as a type): print_map<T, typename T::value_type>(map_); This has been confirmed to work with GCC 2.95.3-8, GCC 3.2.3, and GCC 3.4. This behaviour of GCC is standard-conformant. BCB and MSVC 7.1 seem a little loose on this. By the way, you should also #include <map>. But that seems a typo. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=286529 |