Boost logo

Boost :

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
    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

Any ideas?


Boost list run by bdawes at, gregod at, cpdaniel at, john at