diff --git a/include/boost/fusion/container/map/convert.hpp b/include/boost/fusion/container/map/convert.hpp index b5c3455e..6db99b76 100644 --- a/include/boost/fusion/container/map/convert.hpp +++ b/include/boost/fusion/container/map/convert.hpp @@ -80,6 +80,30 @@ namespace boost { namespace fusion typedef result_of::as_map gen; return gen::call(fusion::begin(seq), fusion::end(seq)); } + + namespace extension + { + template + struct convert_impl; + + template <> + struct convert_impl + { + template + struct apply + { + typedef typename + result_of::as_map::type + type; + + static type call(Sequence& seq) + { + typedef result_of::as_map gen; + return gen::call(fusion::begin(seq), fusion::end(seq)); + } + }; + }; + } }} #endif