aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/ipmath/ipmath.h
diff options
context:
space:
mode:
authorAlexSm <alex@ydb.tech>2024-01-26 16:00:50 +0100
committerGitHub <noreply@github.com>2024-01-26 16:00:50 +0100
commit7ebcfd058d924bcc8c23da70e034f7415687885c (patch)
treee4f00d163c77528c1855f2d7af54a8be83fc1ccb /library/cpp/ipmath/ipmath.h
parent64ca2dcd06312b9eef624054ceb5f787e11be79a (diff)
parent6d79e7793c2c462134f4b4a7d911abc7b9b0766f (diff)
downloadydb-7ebcfd058d924bcc8c23da70e034f7415687885c.tar.gz
Merge pull request #1260 from ydb-platform/mergelibs10
mergelibs10
Diffstat (limited to 'library/cpp/ipmath/ipmath.h')
-rw-r--r--library/cpp/ipmath/ipmath.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/library/cpp/ipmath/ipmath.h b/library/cpp/ipmath/ipmath.h
index 8c24bd471c..76067af972 100644
--- a/library/cpp/ipmath/ipmath.h
+++ b/library/cpp/ipmath/ipmath.h
@@ -152,6 +152,11 @@ private:
class TIpAddressRange::TIterator {
public:
+ using value_type = TIpv6Address;
+ using difference_type = std::ptrdiff_t;
+ using reference = TIpv6Address&;
+ using iterator_category = std::forward_iterator_tag;
+
TIterator(TIpv6Address val) noexcept;
bool operator==(const TIpAddressRange::TIterator& other) noexcept;