Home
last modified time | relevance | path

Searched refs:PtrIter (Results 1 – 5 of 5) sorted by relevance

/dports/textproc/zenxml/zenxml-2.4/zenxml/
H A Ddom.h127 …class PtrIter : public std::iterator<std::input_iterator_tag, T>, private AccessPolicy //get rid o…
130 PtrIter(IterTy it) : it_(it) {} in PtrIter() function
131 PtrIter(const PtrIter& other) : it_(other.it_) {} in PtrIter() function
132 PtrIter& operator++() { ++it_; return *this; }
133 PtrIter operator++(int) { PtrIter tmp(*this); operator++(); return tmp; }
134 …inline friend bool operator==(const PtrIter& lhs, const PtrIter& rhs) { return lhs.it_ == rhs.it_;…
135 … inline friend bool operator!=(const PtrIter& lhs, const PtrIter& rhs) { return !(lhs == rhs); }
148 …using ChildIter2 = PtrIter<std::multimap<std::string, XmlElement*>::iterator, Xml…
149 …using ChildIterConst2 = PtrIter<std::multimap<std::string, XmlElement*>::const_iterator, const Xml…
174 …using ChildIter = PtrIter<FixedList<XmlElement>::iterator, XmlElement, AccessList…
[all …]
/dports/security/seal/SEAL-3.7.2/native/src/seal/util/
H A Diterator.h293 class PtrIter; variable
364 using type = PtrIter<T *>;
376 using type = PtrIter<T *>;
382 using type = PtrIter<T *>;
394 using type = PtrIter<T *>;
600 PtrIter() = default;
607 PtrIter(PtrIter<S *> copy) noexcept : ptr_(copy.ptr())
611 PtrIter(std::vector<S> &arr) noexcept : PtrIter(arr.data())
615 PtrIter(const std::vector<S> &arr) noexcept : PtrIter(arr.data())
619 PtrIter(const Pointer<S> &arr) noexcept : PtrIter(arr.get())
[all …]
H A Ddefines.h233 seal::util::PtrIter<type *> name(SEAL_JOIN(_seal_temp_alloc_, __LINE__).get());
/dports/security/seal/SEAL-3.7.2/native/tests/seal/util/
H A Diterator.cpp34 ASSERT_TRUE((is_same<decltype(iter(declval<int *>())), PtrIter<int *>>::value)); in TEST()
35 … ASSERT_TRUE((is_same<decltype(iter(declval<const int *>())), PtrIter<const int *>>::value)); in TEST()
36 ASSERT_TRUE((is_same<decltype(iter(declval<void *>())), PtrIter<void *>>::value)); in TEST()
37 … ASSERT_TRUE((is_same<decltype(iter(declval<const void *>())), PtrIter<const void *>>::value)); in TEST()
39 …ASSERT_TRUE((is_same<decltype(iter(declval<vector<Ciphertext> &>())), PtrIter<Ciphertext *>>::valu… in TEST()
41 …(is_same<decltype(iter(declval<const vector<Ciphertext> &>())), PtrIter<const Ciphertext *>>::valu… in TEST()
50 … ASSERT_TRUE((is_same<decltype(iter(declval<PtrIter<int *>>())), PtrIter<int *>>::value)); in TEST()
179 TEST(IteratorTest, PtrIter) in TEST() argument
185 PtrIter<int *> s(arr_zero); in TEST()
192 PtrIter<int *> u = s; in TEST()
/dports/security/seal/SEAL-3.7.2/
H A DCHANGES.md314 - `seal::util::PtrIter<T *>` now dereferences correctly to `T &` instead of `T *`.
315 …here inside `SEAL_ITERATE` lambda functions dereferences of `seal::util::PtrIter<T *>` do not need…