MCPcopy Create free account
hub / github.com/apache/singa / ValueArray9

Class ValueArray9

test/gtest/gtest.h:10881–10909  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10879template <typename T1, typename T2, typename T3, typename T4, typename T5,
10880 typename T6, typename T7, typename T8, typename T9>
10881class ValueArray9 {
10882 public:
10883 ValueArray9(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8,
10884 T9 v9) : v1_(v1), v2_(v2), v3_(v3), v4_(v4), v5_(v5), v6_(v6), v7_(v7),
10885 v8_(v8), v9_(v9) {}
10886
10887 template <typename T>
10888 operator ParamGenerator<T>() const {
10889 const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_),
10890 static_cast<T>(v3_), static_cast<T>(v4_), static_cast<T>(v5_),
10891 static_cast<T>(v6_), static_cast<T>(v7_), static_cast<T>(v8_),
10892 static_cast<T>(v9_)};
10893 return ValuesIn(array);
10894 }
10895
10896 private:
10897 // No implementation - assignment is unsupported.
10898 void operator=(const ValueArray9& other);
10899
10900 const T1 v1_;
10901 const T2 v2_;
10902 const T3 v3_;
10903 const T4 v4_;
10904 const T5 v5_;
10905 const T6 v6_;
10906 const T7 v7_;
10907 const T8 v8_;
10908 const T9 v9_;
10909};
10910
10911template <typename T1, typename T2, typename T3, typename T4, typename T5,
10912 typename T6, typename T7, typename T8, typename T9, typename T10>

Callers

nothing calls this directly

Calls 1

ValuesInFunction · 0.85

Tested by

no test coverage detected