19#ifndef INCLUDED_COMPHELPER_STL_TYPES_HXX
20#define INCLUDED_COMPHELPER_STL_TYPES_HXX
28#include <rtl/ustring.hxx>
29#include <rtl/ustrbuf.hxx>
45 bool operator() (std::u16string_view x, std::u16string_view y)
const
62 bool operator() (std::u16string_view lhs, std::u16string_view rhs)
const
73 std::unique_ptr<T>
const& rhs)
const
77 return (*lhs) < (*rhs);
82 std::unique_ptr<T>
const& rhs)
const
96template<
template<
typename,
typename...>
class C,
typename T,
typename... Etc>
98 C<std::unique_ptr<T>, Etc...>
const& lhs,
99 C<std::unique_ptr<T>, Etc...>
const& rhs)
101 return lhs.size() == rhs.size()
102 && std::equal(lhs.begin(), lhs.end(), rhs.begin(),
103 [](
const auto& p1,
const auto& p2) { return *p1 == *p2; });
107template <
class Tp,
class Arg>
110 typedef void (Tp::*_fun_type)(
Arg);
112 explicit mem_fun1_t(_fun_type pf) : M_f(pf) {}
113 void operator()(Tp* p, Arg x)
const { (
p->*M_f)(x); }
118template <
class Tp,
class Arg>
152template<
typename ForwardIter,
typename OutputIter,
typename T >
154 ForwardIter start, ForwardIter end, OutputIter out, T
const & separator)
output iterator that appends OUStrings into an OUStringBuffer.
::std::output_iterator_tag iterator_category
OUStringBufferAppender(OUStringBuffer &i_rBuffer)
OUStringBuffer * m_rBuffer
OUStringBufferAppender Self
Self & operator=(std::u16string_view i_rStr)
bool operator()(std::u16string_view lhs, std::u16string_view rhs) const
bool isCaseSensitive() const
UStringMixEqual(bool bCaseSensitive=true)
bool const m_bCaseSensitive
bool ContainerUniquePtrEquals(C< std::unique_ptr< T >, Etc... > const &lhs, C< std::unique_ptr< T >, Etc... > const &rhs)
by-value implementation of std::foo<std::unique_ptr<T>>::operator==
OutputIter intersperse(ForwardIter start, ForwardIter end, OutputIter out, T const &separator)
algorithm similar to std::copy, but inserts a separator between elements.
mem_fun1_t< Tp, Arg > mem_fun(void(Tp::*f)(Arg))
bool equalsIgnoreAsciiCase(std::u16string_view s1, std::u16string_view s2)
int compareToIgnoreAsciiCase(std::u16string_view s1, std::u16string_view s2)
bool isCaseSensitive() const
bool operator()(std::u16string_view x, std::u16string_view y) const
UStringMixLess(bool bCaseSensitive=true)
by-value less functor for std::set<std::unique_ptr<T>>
bool operator()(T const &lhs, std::unique_ptr< T > const &rhs) const
bool operator()(std::unique_ptr< T > const &lhs, T const &rhs) const
bool operator()(std::unique_ptr< T > const &lhs, std::unique_ptr< T > const &rhs) const