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

Class ValueArray10

test/gtest/gtest.h:10913–10942  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10911template <typename T1, typename T2, typename T3, typename T4, typename T5,
10912 typename T6, typename T7, typename T8, typename T9, typename T10>
10913class ValueArray10 {
10914 public:
10915 ValueArray10(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9,
10916 T10 v10) : v1_(v1), v2_(v2), v3_(v3), v4_(v4), v5_(v5), v6_(v6), v7_(v7),
10917 v8_(v8), v9_(v9), v10_(v10) {}
10918
10919 template <typename T>
10920 operator ParamGenerator<T>() const {
10921 const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_),
10922 static_cast<T>(v3_), static_cast<T>(v4_), static_cast<T>(v5_),
10923 static_cast<T>(v6_), static_cast<T>(v7_), static_cast<T>(v8_),
10924 static_cast<T>(v9_), static_cast<T>(v10_)};
10925 return ValuesIn(array);
10926 }
10927
10928 private:
10929 // No implementation - assignment is unsupported.
10930 void operator=(const ValueArray10& other);
10931
10932 const T1 v1_;
10933 const T2 v2_;
10934 const T3 v3_;
10935 const T4 v4_;
10936 const T5 v5_;
10937 const T6 v6_;
10938 const T7 v7_;
10939 const T8 v8_;
10940 const T9 v9_;
10941 const T10 v10_;
10942};
10943
10944template <typename T1, typename T2, typename T3, typename T4, typename T5,
10945 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