From b240e7efcae3ff46044a98f0b7e8123a87e1ae58 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Tue, 18 Sep 2001 14:48:51 +0000 Subject: [PATCH] Split default and mixin constructor into separate constructors (instead of using default value) because of MSVC 7.0b2 (Peter Dimov) [SVN r11139] --- include/boost/function/function_template.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/boost/function/function_template.hpp b/include/boost/function/function_template.hpp index a796756..09050d1 100644 --- a/include/boost/function/function_template.hpp +++ b/include/boost/function/function_template.hpp @@ -447,7 +447,9 @@ namespace boost { #endif // BOOST_FUNCTION_USE_VIRTUAL_FUNCTIONS public: - explicit BOOST_FUNCTION_FUNCTION(const Mixin& m = Mixin()) : + BOOST_FUNCTION_FUNCTION() : function_base(), Mixin() BOOST_FUNCTION_INIT {} + + explicit BOOST_FUNCTION_FUNCTION(const Mixin& m) : function_base(), Mixin(m) BOOST_FUNCTION_INIT { }