X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fflat_map.h;h=62815168bcdd0ff91fba5adc92c6813c918f60b9;hb=65f74be719bf249f4bc93e09670ee07410ecec96;hp=bef1404e43373ed991c684ae4b3421dde5069afd;hpb=3eed53a5bb3b8460c6732237f690fe623d70f167;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/flat_map.h b/include/flat_map.h index bef1404e4..62815168b 100644 --- a/include/flat_map.h +++ b/include/flat_map.h @@ -200,10 +200,10 @@ class flat_map_base } // namespace detail -template > -class flat_set : public detail::flat_map_base +template , typename ElementComp = Comp> +class flat_set : public detail::flat_map_base { - typedef detail::flat_map_base base_t; + typedef detail::flat_map_base base_t; public: typedef typename base_t::iterator iterator; @@ -240,10 +240,10 @@ class flat_set : public detail::flat_map_base } }; -template > -class flat_multiset : public detail::flat_map_base +template , typename ElementComp = Comp> +class flat_multiset : public detail::flat_map_base { - typedef detail::flat_map_base base_t; + typedef detail::flat_map_base base_t; public: typedef typename base_t::iterator iterator; @@ -280,10 +280,10 @@ class flat_multiset : public detail::flat_map_base } }; -template > -class flat_map : public detail::flat_map_base, Comp, T, detail::map_pair_compare, Comp> > +template , typename ElementComp = Comp > +class flat_map : public detail::flat_map_base, Comp, T, detail::map_pair_compare, ElementComp> > { - typedef detail::flat_map_base, Comp, T, detail::map_pair_compare, Comp> > base_t; + typedef detail::flat_map_base, Comp, T, detail::map_pair_compare, ElementComp> > base_t; public: typedef typename base_t::iterator iterator; @@ -333,10 +333,10 @@ class flat_map : public detail::flat_map_base, Comp, T, detail:: } }; -template > -class flat_multimap : public detail::flat_map_base, Comp, T, detail::map_pair_compare, Comp> > +template , typename ElementComp = Comp > +class flat_multimap : public detail::flat_map_base, Comp, T, detail::map_pair_compare, ElementComp> > { - typedef detail::flat_map_base, Comp, T, detail::map_pair_compare, Comp> > base_t; + typedef detail::flat_map_base, Comp, T, detail::map_pair_compare, ElementComp> > base_t; public: typedef typename base_t::iterator iterator;