From 8e473f2d26893c01c0757b994553ba1d4a2db078 Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Tue, 3 Sep 2013 17:47:12 +0000 Subject: [PATCH] merge [85488] from trunk, fixes #9049 [SVN r85550] --- include/boost/phoenix/function/function.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/boost/phoenix/function/function.hpp b/include/boost/phoenix/function/function.hpp index 10bdab7..cff0430 100644 --- a/include/boost/phoenix/function/function.hpp +++ b/include/boost/phoenix/function/function.hpp @@ -8,6 +8,7 @@ #ifndef BOOST_PHOENIX_FUNCTION_FUNCTION_HPP #define BOOST_PHOENIX_FUNCTION_FUNCTION_HPP +#include //#include #include #include @@ -24,9 +25,11 @@ namespace boost { namespace phoenix template struct function { - function() {} + BOOST_CONSTEXPR function() + : f() + {} - function(F f) + BOOST_CONSTEXPR function(F f) : f(f) {}