public static T MaxMeta <TCollect, T>(ref TCollect collect, Func <T, T, bool> firstGreat) where TCollect : struct, ICollectionWrapper <T> { var func = new FuncFunctor <T, T, bool>(firstGreat); return(MaxOperator.MaxMeta <TCollect, FuncFunctor <T, T, bool>, T>(ref collect, ref func)); }
public static T AggregateMeta <TCollect, T>(ref TCollect collect, Func <T, T, T> folder) where TCollect : struct, ICollectionWrapper <T> { var functor = new FuncFunctor <T, T, T>(folder); return(AggregateMeta <TCollect, FuncFunctor <T, T, T>, T>(ref collect, ref functor)); }