Lines Matching refs:Reference
33 class Reference {
35 explicit Reference(Tagged_t* address) : address_(address) {}
36 Reference(const Reference&) V8_NOEXCEPT = default;
38 Reference& operator=(const Reference& other) V8_NOEXCEPT {
43 Reference& operator=(Tagged_t value) {
52 void swap(Reference& other) {
58 bool operator<(const Reference& other) const {
62 bool operator==(const Reference& other) const {
76 using reference = Reference;
85 Reference operator*() const {
86 return Reference(reinterpret_cast<Tagged_t*>(address()));
88 Reference operator[](difference_type i) const {
89 return Reference(reinterpret_cast<Tagged_t*>(address() + i * kTaggedSize));
92 friend void swap(Reference lhs, Reference rhs) { lhs.swap(rhs); }