Searched refs:SmartValue (Results 1 – 3 of 3) sorted by relevance
113 class SmartValue {115 SmartValue(std::size_t rv) : real_value(rv) {} in SmartValue() function116 SmartValue(const SmartValue&) = default;117 SmartValue& operator=(const SmartValue&) = default;119 SmartValue operator+(const SmartValue& other) const {120 return SmartValue{real_value + other.real_value};122 std::size_t operator-(const SmartValue& other) const {128 bool operator<(const SmartValue& other) const {132 SmartValue& operator++() { ++real_value; return *this; }137 std::size_t get_real_index(const SmartValue& value) { in get_real_index()
142 test_invoke::SmartRange<test_invoke::SmartValue> range(0, iterations); in test_preduce_invoke_basic()143 test_invoke::SmartValue identity(0); in test_preduce_invoke_basic()160 …uce = [](const test_invoke::SmartRange<test_invoke::SmartValue>& range, const test_invoke::SmartVa… in __anon105f294c0302()161 test_invoke::SmartValue result = idx; in __anon105f294c0302()167 auto regular_join = [](const test_invoke::SmartValue& lhs, const test_invoke::SmartValue& rhs) { in __anon105f294c0402()171 …_invoke_basic(&test_invoke::SmartRange<test_invoke::SmartValue>::reduction, &test_invoke::SmartVal…172 …test_preduce_invoke_basic(&test_invoke::SmartRange<test_invoke::SmartValue>::reduction, regular_jo…173 test_preduce_invoke_basic(regular_reduce, &test_invoke::SmartValue::operator+);
162 test_invoke::SmartRange<test_invoke::SmartValue> range(0, iterations, change_vector);163 test_invoke::SmartValue identity(0);165 auto scan = &test_invoke::SmartRange<test_invoke::SmartValue>::scan;166 auto combine = &test_invoke::SmartValue::operator+;