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

Class ValueArray8

test/gtest/gtest.h:10851–10877  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10849template <typename T1, typename T2, typename T3, typename T4, typename T5,
10850 typename T6, typename T7, typename T8>
10851class ValueArray8 {
10852 public:
10853 ValueArray8(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7,
10854 T8 v8) : v1_(v1), v2_(v2), v3_(v3), v4_(v4), v5_(v5), v6_(v6), v7_(v7),
10855 v8_(v8) {}
10856
10857 template <typename T>
10858 operator ParamGenerator<T>() const {
10859 const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_),
10860 static_cast<T>(v3_), static_cast<T>(v4_), static_cast<T>(v5_),
10861 static_cast<T>(v6_), static_cast<T>(v7_), static_cast<T>(v8_)};
10862 return ValuesIn(array);
10863 }
10864
10865 private:
10866 // No implementation - assignment is unsupported.
10867 void operator=(const ValueArray8& other);
10868
10869 const T1 v1_;
10870 const T2 v2_;
10871 const T3 v3_;
10872 const T4 v4_;
10873 const T5 v5_;
10874 const T6 v6_;
10875 const T7 v7_;
10876 const T8 v8_;
10877};
10878
10879template <typename T1, typename T2, typename T3, typename T4, typename T5,
10880 typename T6, typename T7, typename T8, typename T9>

Callers

nothing calls this directly

Calls 1

ValuesInFunction · 0.85

Tested by

no test coverage detected