Blog

Divyagoalescor03 Dec, 2021Business

Ah, now I see what you mean ? I didn't look far enough! I don't know this code well (in fact I'm not sure why you picked me as a reviewer), but off the top of my head: the question is not just whether tokens_iterator happens to be the same thing as const Token * now. It's whether it's guaranteed to stay that way in the future. One of the purposes of these iterator types is that they form an opaque abstraction layer: the client uses the type in only the ways that are guaranteed to work by the iterator specification, and then the implementation can completely change without breaking any client.

Divya Goal

Divyagoalescor03 Dec, 2021Games

I don't know this code well (in fact I'm not sure why you picked me as a reviewer), but off the top of my head: the question is not just whether tokens_iterator happens to be the same thing as const Token * now. It's whether it's guaranteed to stay that way in the future. One of the purposes of these iterator types is that they form an opaque abstraction layer: the client uses the type in only the ways that are guaranteed to work by the iterator specification, and then the implementation can completely change without breaking any client.

Recent Profiles

Douglas Faysal

Douglas Faysal

View Profile

Hitclub

Hitclub

View Profile

Nhà cái 999BET

Nhà Cái 999bet

View Profile

Kèo Nhà Cái

Kèo Nhà Cái

View Profile

Mahdy Tohme

Mahdy Tohme

View Profile

Yağmur Asiyan

Yağmur Asiyan

View Profile

Tom Rice

Tom Rice

View Profile

88VBet Life

88vbet Life

View Profile

Homestory

Homestory

View Profile