mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Add reverse_iterator to String
This commit is contained in:
parent
8af8c233a3
commit
2560a9733d
@ -47,6 +47,12 @@ public:
|
||||
typedef std::string::iterator iterator;
|
||||
typedef std::string::const_iterator const_iterator;
|
||||
|
||||
typedef std::string::reverse_iterator ReverseIterator;
|
||||
typedef std::string::const_reverse_iterator ConstReverseIterator;
|
||||
|
||||
typedef std::string::reverse_iterator reverse_iterator;
|
||||
typedef std::string::const_reverse_iterator const_reverse_iterator;
|
||||
|
||||
typedef std::string::size_type SizeType;
|
||||
|
||||
inline String(void)
|
||||
@ -248,6 +254,26 @@ public:
|
||||
return m_Data.end();
|
||||
}
|
||||
|
||||
inline ReverseIterator RBegin(void)
|
||||
{
|
||||
return m_Data.rbegin();
|
||||
}
|
||||
|
||||
inline ConstReverseIterator RBegin(void) const
|
||||
{
|
||||
return m_Data.rbegin();
|
||||
}
|
||||
|
||||
inline ReverseIterator REnd(void)
|
||||
{
|
||||
return m_Data.rend();
|
||||
}
|
||||
|
||||
inline ConstReverseIterator REnd(void) const
|
||||
{
|
||||
return m_Data.rend();
|
||||
}
|
||||
|
||||
static const SizeType NPos;
|
||||
|
||||
static Object::Ptr GetPrototype(void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user