
Hi! I'm working with the boost::numeric::ublas library and I'm having some problems, but I'm posting here because I think the problem is due to the type_traits library. In fact, with Visual C++ 7.0 this piece of code does not compile, with the error C2529: "reference to reference is illegal". ------------------------------------ #include <boost/type_traits.hpp> #include <complex> //typedef double value_t; typedef std::complex<double> value_t; int main() { // reference to reference!!! boost::remove_reference<value_t&>::type const &a (value_t (0.)); return 0; } ----------------------------------- With value_t == double everything works fine. Any suggestions? Thank you, Lorenzo. -- CH3 | N / \ N----C C==O || || | || || | CH C N--CH3 \ / \ / N C | || CH3 O