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

Class ValueArray4

test/gtest/gtest.h:10748–10768  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10746
10747template <typename T1, typename T2, typename T3, typename T4>
10748class ValueArray4 {
10749 public:
10750 ValueArray4(T1 v1, T2 v2, T3 v3, T4 v4) : v1_(v1), v2_(v2), v3_(v3),
10751 v4_(v4) {}
10752
10753 template <typename T>
10754 operator ParamGenerator<T>() const {
10755 const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_),
10756 static_cast<T>(v3_), static_cast<T>(v4_)};
10757 return ValuesIn(array);
10758 }
10759
10760 private:
10761 // No implementation - assignment is unsupported.
10762 void operator=(const ValueArray4& other);
10763
10764 const T1 v1_;
10765 const T2 v2_;
10766 const T3 v3_;
10767 const T4 v4_;
10768};
10769
10770template <typename T1, typename T2, typename T3, typename T4, typename T5>
10771class ValueArray5 {

Callers

nothing calls this directly

Calls 1

ValuesInFunction · 0.85

Tested by

no test coverage detected