$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David B. Held (dheld_at_[hidden])
Date: 2003-03-15 12:10:57
This code fails on bcc 5.5.1:
#include <boost/call_traits.hpp>
struct X { };
struct Y { };
class foo
{
public:
template <typename U>
foo(boost::call_traits<U>::param_type v)
{ }
};
int main(int argc, char* argv[])
{
X x;
foo f(x);
(void) f; // necessary to make bcc generate the c'tor call above
}
[C++ Error] CallTraits.cpp(20): E2285 Could not find a match for
'foo::foo(X)'
Any ideas?
Dave