Fixed a bug in functor_arrfunc, change arrfunc static_asserts for get_data_as to std::runtime_error