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

Class ValueArray7

test/gtest/gtest.h:10823–10847  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10821template <typename T1, typename T2, typename T3, typename T4, typename T5,
10822 typename T6, typename T7>
10823class ValueArray7 {
10824 public:
10825 ValueArray7(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7) : v1_(v1),
10826 v2_(v2), v3_(v3), v4_(v4), v5_(v5), v6_(v6), v7_(v7) {}
10827
10828 template <typename T>
10829 operator ParamGenerator<T>() const {
10830 const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_),
10831 static_cast<T>(v3_), static_cast<T>(v4_), static_cast<T>(v5_),
10832 static_cast<T>(v6_), static_cast<T>(v7_)};
10833 return ValuesIn(array);
10834 }
10835
10836 private:
10837 // No implementation - assignment is unsupported.
10838 void operator=(const ValueArray7& other);
10839
10840 const T1 v1_;
10841 const T2 v2_;
10842 const T3 v3_;
10843 const T4 v4_;
10844 const T5 v5_;
10845 const T6 v6_;
10846 const T7 v7_;
10847};
10848
10849template <typename T1, typename T2, typename T3, typename T4, typename T5,
10850 typename T6, typename T7, typename T8>

Callers

nothing calls this directly

Calls 1

ValuesInFunction · 0.85

Tested by

no test coverage detected