¡@

Home 

c++ Programming Glossary: binaryfunc

How to implement folding with variadic templates

http://stackoverflow.com/questions/6065810/how-to-implement-folding-with-variadic-templates

EXPR decltype EXPR return EXPR template typename BinaryFunc typename First typename Second auto foldl BinaryFunc func First.. BinaryFunc typename First typename Second auto foldl BinaryFunc func First first Second second AUTO_RETURN func std forward.. First first std forward Second second template typename BinaryFunc typename First typename Second typename... Rest auto foldl BinaryFunc..