add C++14 constexpr range algorithms