Problems with call_traits in GCC 3.2 20020927 (prerelease)

6 Nov
2003
6 Nov
'03
11:49 a.m.
The following programs does not compile with error foo.cpp: In function `int main()': foo.cpp:11: no matching function for call to `foo(std::string)' Program code: #include <boost/call_traits.hpp> #include <string> template<typename Type> void foo(typename boost::call_traits<Type>::param_type x) { } int main() { foo(std::string("bar")); return 0; } Environment is GCC 3.2 20020927 (prerelease) under Cygwin. Anyvody run into a similar problem? Workarounds, ideas? Thanx in advance. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
7885
Age (days ago)
7885
Last active (days ago)
0 comments
1 participants
participants (1)
-
Joaquín Mª López Muñoz