Lines Matching refs:T
23 template <typename T>
24 std::string stringify_helper(const T& val) { in stringify_helper()
229 template <typename T>
230 operator T() const { // NOLINT in operator T()
231 return T{}; in operator T()
514 template <typename T>
517 return sizeof(T) == sizeof(int); in operator ()()
546 template <typename T, size_t kMaxSize>
547 constexpr size_t SumUpVector(const nativehelper::detail::ConstexprVector<T, kMaxSize>& vec) { in SumUpVector() argument
549 for (const T& elem : vec) { in SumUpVector()
555 template <typename T>
558 ConstexprVector<T, 5> vec_int; in make_test_int_vector()
559 vec_int.push_back(T{1}); in make_test_int_vector()
560 vec_int.push_back(T{2}); in make_test_int_vector()
561 vec_int.push_back(T{3}); in make_test_int_vector()
562 vec_int.push_back(T{4}); in make_test_int_vector()
563 vec_int.push_back(T{5}); in make_test_int_vector()