Lines Matching refs:T
38 template <typename T>
41 template <typename T>
47 ArchMap(std::initializer_list<std::pair<Arch, T>> initializer) { in ArchMap()
53 T& operator[](Arch arch) {
57 const T& operator[](Arch arch) const {
70 ArchMapIterator<T> begin() const { in begin()
71 return ArchMapIterator<T>(*this, Arch::arm); in begin()
74 ArchMapIterator<T> end() const { in end()
75 return ArchMapIterator<T>(*this, Arch(size_t(Arch::x86_64) + 1)); in end()
79 std::array<T, size_t(Arch::x86_64) + 1> data_ = {};
82 template <typename T>
84 const ArchMap<T>& map_;
90 ArchMapIterator(const ArchMap<T>& map, Arch arch) : map_(map), arch_(arch) { in ArchMapIterator()
93 bool operator==(const ArchMapIterator<T>& rhs) const {
97 bool operator!=(const ArchMapIterator<T>& rhs) const {
112 std::pair<const Arch&, const T&> operator*() const {
116 std::pair<const Arch&, const T&> operator->() const {