Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gf] Remove TF_FOR_ALL usage. #3476

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

Cewein
Copy link

@Cewein Cewein commented Dec 27, 2024

Description of Change(s)

Update files under pxr/base/gf by replacing TF_FOR_ALL with C++11-style range-based for each loop.
Additionally, updated pointer usage to align with the new iterator approach, since we now handle references directly rather than raw pointers.

Ongoing Issue(s)

This PR addresses issue #80, though many more instances still need to be resolved. Given the age of this issue (approximately 6–7 years), I wanted to reopen the discussion to evaluate its relevance. Specifically, is the header iterator.h still necessary?

Previous attempts to address this issue (e.g., #398) have been closed without further updates to the thread. I look forward to hearing thoughts on whether we should proceed with this.

Checklist

update the loop to a c++11 iterator.
update TF_FOR_ALL to C++11 iterator.
Removed pointer where references where define by the iterator.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant