Ticket #38062: patch-include-vigra-accumulator-grammar.hxx.diff
File patch-include-vigra-accumulator-grammar.hxx.diff, 1.4 KB (added by BSeppke (Benjamin Seppke), 12 years ago) |
---|
-
include/vigra/accumulator-grammar.hxx
old new 679 679 typedef B type; 680 680 }; 681 681 682 template <class A 0, template <class> class A1, class B0, template <class> class B1>683 struct SubstituteModifiers<A 1<A0>, B1<B0>, true>682 template <class A, template <class> class AA, class B, template <class> class BB> 683 struct SubstituteModifiers<AA<A>, BB<B>, true> 684 684 { 685 typedef A 1<typename SubstituteModifiers<A0, B0>::type> type;685 typedef AA<typename SubstituteModifiers<A, B>::type> type; 686 686 }; 687 687 688 template <class A 0, class B0, template <class> class B1>689 struct SubstituteModifiers<DefaultModifier<A 0>, B1<B0>, true>688 template <class A, class B, template <class> class BB> 689 struct SubstituteModifiers<DefaultModifier<A>, BB<B>, true> 690 690 { 691 typedef B 1<typename SubstituteModifiers<A0, B0>::type> type;691 typedef BB<typename SubstituteModifiers<A, B>::type> type; 692 692 }; 693 693 694 template <class A 0, template <class> class A1, class B0, template <class> class B1>695 struct SubstituteModifiers<A 1<A0>, B1<B0>, false>694 template <class A, template <class> class AA, class B, template <class> class BB> 695 struct SubstituteModifiers<AA<A>, BB<B>, false> 696 696 { 697 typedef B 1<typename SubstituteModifiers<A0, B0>::type> type;697 typedef BB<typename SubstituteModifiers<A, B>::type> type; 698 698 }; 699 699 700 700 } // namespace detail