From 70e3860a6e5fe76bcd99cd5b5c886a852feef498 Mon Sep 17 00:00:00 2001 From: Michael Stevens Date: Fri, 1 Jul 2005 20:26:46 +0000 Subject: [PATCH] Allow for non default constructable proxies svn path=/trunk/boost/libs/numeric/ublas/; revision=29864 --- test/test1/test11.cpp | 4 +--- test/test1/test13.cpp | 4 +--- test/test3/test31.cpp | 4 +--- test/test3/test33.cpp | 4 +--- test/test4/test43.cpp | 4 +--- test/test5/test53.cpp | 4 +--- test/test6/test63.cpp | 4 +--- 7 files changed, 7 insertions(+), 21 deletions(-) diff --git a/test/test1/test11.cpp b/test/test1/test11.cpp index f5c74070..36fb424c 100644 --- a/test/test1/test11.cpp +++ b/test/test1/test11.cpp @@ -31,9 +31,7 @@ struct test_my_vector { real_type n; // Default Construct - VP default_constuct; - initialize_vector (default_constuct); - std::cout << "default construct = " << default_constuct << std::endl; + default_construct::test (); // Copy and swap initialize_vector (v1); diff --git a/test/test1/test13.cpp b/test/test1/test13.cpp index 317543d6..a8265aa7 100644 --- a/test/test1/test13.cpp +++ b/test/test1/test13.cpp @@ -27,9 +27,7 @@ struct test_my_matrix { value_type t; // Default Construct - MP default_constuct; - initialize_matrix (default_constuct); - std::cout << "default construct = " << default_constuct << std::endl; + default_construct::test (); // Copy and swap initialize_matrix (m1); diff --git a/test/test3/test31.cpp b/test/test3/test31.cpp index fa70d1f8..f759f606 100644 --- a/test/test3/test31.cpp +++ b/test/test3/test31.cpp @@ -31,9 +31,7 @@ struct test_my_vector { real_type n; // Default Construct - VP default_constuct; - initialize_vector (default_constuct); - std::cout << "default construct = " << default_constuct << std::endl; + default_construct::test (); // Copy and swap initialize_vector (v1); diff --git a/test/test3/test33.cpp b/test/test3/test33.cpp index a5991e03..aca49591 100644 --- a/test/test3/test33.cpp +++ b/test/test3/test33.cpp @@ -27,9 +27,7 @@ struct test_my_matrix { value_type t; // Default Construct - MP default_constuct; - initialize_matrix (default_constuct); - std::cout << "default construct = " << default_constuct << std::endl; + default_construct::test (); // Copy and swap initialize_matrix (m1); diff --git a/test/test4/test43.cpp b/test/test4/test43.cpp index 1aa35a76..3a868272 100644 --- a/test/test4/test43.cpp +++ b/test/test4/test43.cpp @@ -27,9 +27,7 @@ struct test_my_matrix { value_type t; // Default Construct - MP default_constuct; - initialize_matrix (default_constuct); - std::cout << "default construct = " << default_constuct << std::endl; + default_construct::test (); // Copy and swap initialize_matrix (m1); diff --git a/test/test5/test53.cpp b/test/test5/test53.cpp index 6a34445c..b7574d60 100644 --- a/test/test5/test53.cpp +++ b/test/test5/test53.cpp @@ -27,9 +27,7 @@ struct test_my_matrix { value_type t; // Default Construct - MP default_constuct; - initialize_matrix (default_constuct); - std::cout << "default construct = " << default_constuct << std::endl; + default_construct::test (); // Copy and swap initialize_matrix (m1); diff --git a/test/test6/test63.cpp b/test/test6/test63.cpp index ad97ce31..77446d88 100644 --- a/test/test6/test63.cpp +++ b/test/test6/test63.cpp @@ -27,9 +27,7 @@ struct test_my_matrix { value_type t; // Default Construct - MP default_constuct; - initialize_matrix (default_constuct); - std::cout << "default construct = " << default_constuct << std::endl; + default_construct::test (); // Copy and swap initialize_matrix (m1);