Searched refs:copy_int (Results 1 – 1 of 1) sorted by relevance
22 struct copy_int struct26 constexpr explicit copy_int(int32_t val = 0) : value(val) {} in copy_int() argument27 …constexpr copy_int(copy_int const& other) : value(other.value), copied_times(other.copied_times) {… in copy_int() function29 constexpr copy_int&30 operator=(const copy_int& other) in operator =() argument43 operator==(const copy_int& other) const in operator ==() argument92 typename std::enable_if<std::is_same<T, copy_int>::value, bool>::type_t95 return std::all_of(b, e, [](const copy_int& elem) { return elem.copied_times == 0; }); in check()154 test<copy_int, copy_int>([](const copy_int& val) { return val.value / 5 > 2; }); in main()