Add rstl::binary_find

Including CAnimData::GetBoundingBox


Former-commit-id: e4a864880b
This commit is contained in:
Henrique Gemignani Passos Lima
2022-12-05 23:35:31 +02:00
parent b29e5337fc
commit d86009a79d
19 changed files with 232 additions and 87 deletions

View File

@@ -107,6 +107,7 @@ public:
int _eq_helper(const basic_string& other) const;
bool operator==(const basic_string& other) const;
bool operator<(const basic_string& other) const;
const char* data() const { return x0_ptr; }
};
@@ -116,6 +117,11 @@ bool basic_string< _CharTp, Traits, Alloc >::operator==(const basic_string& othe
return _eq_helper(other) == 0;
}
template < typename _CharTp, typename Traits, typename Alloc >
bool basic_string< _CharTp, Traits, Alloc >::operator<(const basic_string& other) const {
return _eq_helper(other) < 0;
}
// template <>
// const char basic_string<char>::mNull = 0;
// template <>