#include #include #include namespace ublas = boost::numeric::ublas; int main() { typedef double in_value_type; typedef std::complex out_value_type; const std::size_t n = 4; // Input Matrix ublas::symmetric_matrix IN(n,n); // Test copy-constructor: fails to compile without patch 4410 ublas::symmetric_matrix OUT1(IN); // Test copy-assignement: fails to compile without patch 4410 ublas::symmetric_matrix OUT2; OUT2 = IN; std::cout << "Input Matrix: " << IN << std::endl; std::cout << "Copy-Constructed Output Matrix: " << OUT1 << std::endl; std::cout << "Copy-Assigned Output Matrix: " << OUT2 << std::endl; }