Skip to content

Commit

Permalink
avoid ambiguous template instantiation with sort
Browse files Browse the repository at this point in the history
  • Loading branch information
brunocodutra committed Feb 5, 2020
1 parent dbe95d5 commit d8e5f33
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions include/metal/list/sort.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,18 +142,6 @@ namespace metal {
using type = _merge_impl<x, y, z, expr>;
};

template<class x, class z>
struct _merge<x, list<>, z> {
template<template<class...> class expr>
using type = _merge_impl<x, list<>, z, expr>;
};

template<class y, class z>
struct _merge<list<>, y, z> {
template<template<class...> class expr>
using type = _merge_impl<list<>, y, z, expr>;
};

template<class seq>
struct _sort_impl {
using beg = number<0>;
Expand Down

0 comments on commit d8e5f33

Please # to comment.