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

Class ValueArray6

test/gtest/gtest.h:10796–10819  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10794template <typename T1, typename T2, typename T3, typename T4, typename T5,
10795 typename T6>
10796class ValueArray6 {
10797 public:
10798 ValueArray6(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6) : v1_(v1), v2_(v2),
10799 v3_(v3), v4_(v4), v5_(v5), v6_(v6) {}
10800
10801 template <typename T>
10802 operator ParamGenerator<T>() const {
10803 const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_),
10804 static_cast<T>(v3_), static_cast<T>(v4_), static_cast<T>(v5_),
10805 static_cast<T>(v6_)};
10806 return ValuesIn(array);
10807 }
10808
10809 private:
10810 // No implementation - assignment is unsupported.
10811 void operator=(const ValueArray6& other);
10812
10813 const T1 v1_;
10814 const T2 v2_;
10815 const T3 v3_;
10816 const T4 v4_;
10817 const T5 v5_;
10818 const T6 v6_;
10819};
10820
10821template <typename T1, typename T2, typename T3, typename T4, typename T5,
10822 typename T6, typename T7>

Callers

nothing calls this directly

Calls 1

ValuesInFunction · 0.85

Tested by

no test coverage detected