Lines Matching defs:other

199     /// The canonic container types to use @ref basic_json like any other STL
325 // in functions involving lookup by key with types other than object_t::key_type (aka. StringType)
1124 // other constructors and destructor //
1134 basic_json(const basic_json& other)
1135 : m_type(other.m_type)
1138 other.assert_invariant();
1144 m_value = *other.m_value.object;
1150 m_value = *other.m_value.array;
1156 m_value = *other.m_value.string;
1162 m_value = other.m_value.boolean;
1168 m_value = other.m_value.number_integer;
1174 m_value = other.m_value.number_unsigned;
1180 m_value = other.m_value.number_float;
1186 m_value = *other.m_value.binary;
1202 basic_json(basic_json&& other) noexcept
1203 : m_type(std::move(other.m_type)),
1204 m_value(std::move(other.m_value))
1207 other.assert_invariant(false);
1210 other.m_type = value_t::null;
1211 other.m_value = {};
1219 basic_json& operator=(basic_json other) noexcept (
1227 other.assert_invariant();
1230 swap(m_type, other.m_type);
1231 swap(m_value, other.m_value);
1580 to other types. There a few things to note: (1) Floating-point numbers can
1859 to other types. There a few things to note: (1) Floating-point numbers can
2928 // all other types are nonempty
2967 // all other types have size 1
3001 // all other types have max_size() == size()
3454 void swap(reference other) noexcept (
3461 std::swap(m_type, other.m_type);
3462 std::swap(m_value, other.m_value);
3465 other.set_parents();
3483 void swap(array_t& other) // NOLINT(bugprone-exception-escape)
3489 swap(*(m_value.array), other);
3499 void swap(object_t& other) // NOLINT(bugprone-exception-escape)
3505 swap(*(m_value.object), other);
3515 void swap(string_t& other) // NOLINT(bugprone-exception-escape)
3521 swap(*(m_value.string), other);
3531 void swap(binary_t& other) // NOLINT(bugprone-exception-escape)
3537 swap(*(m_value.binary), other);
3547 void swap(typename binary_t::container_type& other) // NOLINT(bugprone-exception-escape)
3553 swap(*(m_value.binary), other);
3645 // - any operand is NaN and the other operand is of number type
5002 // add other remaining elements
5041 // second pass: traverse other object's elements