diff --git a/include/boost/parameter/name.hpp b/include/boost/parameter/name.hpp index f3578aa..932f8af 100755 --- a/include/boost/parameter/name.hpp +++ b/include/boost/parameter/name.hpp @@ -51,7 +51,7 @@ struct lambda< > { typedef true_ is_le; - typedef bind2< quote2, arg<2>, T > result_; + typedef bind3< quote3, arg<2>, T, void> result_; typedef result_ type; }; diff --git a/test/preprocessor.cpp b/test/preprocessor.cpp index bf025e5..4f6315b 100755 --- a/test/preprocessor.cpp +++ b/test/preprocessor.cpp @@ -470,7 +470,7 @@ int main() lazy_defaults( name = 0 , value = 1 - , index = 2 + , test::index = 2 ); return 0;