Allow for non default constructable proxies
svn path=/trunk/boost/libs/numeric/ublas/; revision=29864
This commit is contained in:
parent
6d29f0c7a7
commit
81e7706411
@ -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<VP>::test ();
|
||||
|
||||
// Copy and swap
|
||||
initialize_vector (v1);
|
||||
|
@ -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<MP>::test ();
|
||||
|
||||
// Copy and swap
|
||||
initialize_matrix (m1);
|
||||
|
@ -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<VP>::test ();
|
||||
|
||||
// Copy and swap
|
||||
initialize_vector (v1);
|
||||
|
@ -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<MP>::test ();
|
||||
|
||||
// Copy and swap
|
||||
initialize_matrix (m1);
|
||||
|
@ -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<MP>::test ();
|
||||
|
||||
// Copy and swap
|
||||
initialize_matrix (m1);
|
||||
|
@ -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<MP>::test ();
|
||||
|
||||
// Copy and swap
|
||||
initialize_matrix (m1);
|
||||
|
@ -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<MP>::test ();
|
||||
|
||||
// Copy and swap
|
||||
initialize_matrix (m1);
|
||||
|
Loading…
Reference in New Issue
Block a user