mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-23 13:55:36 +08:00
committed by
Lars Toenning
parent
5e5b3f830d
commit
7691e42a5b
@@ -249,8 +249,8 @@ namespace BlackMisc::Simulation::XPlane::QtFreeUtils
|
||||
template <typename I>
|
||||
struct Utf8Iterator
|
||||
{
|
||||
//! STL compatibility
|
||||
//! @{
|
||||
//! STL compatibility
|
||||
using value_type = typename std::iterator_traits<I>::value_type;
|
||||
using difference_type = typename std::iterator_traits<I>::difference_type;
|
||||
using reference = typename std::iterator_traits<I>::reference;
|
||||
@@ -264,8 +264,8 @@ namespace BlackMisc::Simulation::XPlane::QtFreeUtils
|
||||
//! Constructor
|
||||
Utf8Iterator(I base, I end) : base(base), end(end) {}
|
||||
|
||||
//! Equality
|
||||
//! @{
|
||||
//! Equality
|
||||
friend bool operator ==(Utf8Iterator a, Utf8Iterator b) { return a.base == b.base; }
|
||||
friend bool operator !=(Utf8Iterator a, Utf8Iterator b) { return a.base != b.base; }
|
||||
friend bool operator ==(Utf8Iterator a, I b) { return a.base == b; }
|
||||
|
||||
Reference in New Issue
Block a user