From 3ffdc235b45533eb310e7764f6384cf7c5e8b133 Mon Sep 17 00:00:00 2001 From: Michael Stevens Date: Fri, 1 Jul 2005 20:29:14 +0000 Subject: [PATCH] Allow for branch support of non default constructable proxies [SVN r29867] --- test/common/init.hpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/test/common/init.hpp b/test/common/init.hpp index addc992c..f1007b0c 100644 --- a/test/common/init.hpp +++ b/test/common/init.hpp @@ -5,6 +5,21 @@ * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ +/* + * Default construct test when possible + */ + +template +struct default_construct +{ + static void test () + { + VC default_constuct; + initialize_vector (default_constuct); + std::cout << "default construct = " << default_constuct << std::endl; + } +}; + /* * Initialise test values in vector/matrix */