Skip to content

Replaced instances of boost::bind with std::bind or lambda functions.#3410

Merged
williamckha merged 7 commits into
UBC-Thunderbots:masterfrom
wmostrenko:boost_bind_to_std_bind
May 15, 2025
Merged

Replaced instances of boost::bind with std::bind or lambda functions.#3410
williamckha merged 7 commits into
UBC-Thunderbots:masterfrom
wmostrenko:boost_bind_to_std_bind

Conversation

@wmostrenko

Copy link
Copy Markdown
Contributor

Please fill out the following before requesting review on this PR

Description

Replaced instances of boost::bind with std::bind or lambda functions throughout the codebase.

Testing Done

Resolved Issues

Resolves #3299

Length Justification and Key Files to Review

Review Checklist

It is the reviewers responsibility to also make sure every item here has been covered

  • Function & Class comments: All function definitions (usually in the .h file) should have a javadoc style comment at the start of them. For examples, see the functions defined in thunderbots/software/geom. Similarly, all classes should have an associated Javadoc comment explaining the purpose of the class.
  • Remove all commented out code
  • Remove extra print statements: for example, those just used for testing
  • Resolve all TODO's: All TODO (or similar) statements should either be completed or associated with a github issue

@itsarune itsarune requested review from a team, DimitriK24 and someone2060 and removed request for a team November 30, 2024 10:44

@itsarune itsarune left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good work!

Can you delete the lines #include boost/bind.hpp and the @boost//::bind from the BUILD files?
image

Also docs/coroutine_test_examples.cpp still uses boost::bind

@notion-workspace

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions Bot added the Stale Inactive pull requests label Dec 31, 2024
@itsarune itsarune removed the Stale Inactive pull requests label Dec 31, 2024
Replaced instances of boost::bind with std::bind

@itsarune itsarune left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merge conflicts + you can delete all of these lines:

image

@github-actions

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions Bot added the Stale Inactive pull requests label Mar 21, 2025
@wmostrenko wmostrenko removed the Stale Inactive pull requests label Mar 21, 2025
@github-actions

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions Bot added the Stale Inactive pull requests label Apr 21, 2025
@github-actions

Copy link
Copy Markdown
Contributor

This PR was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions Bot closed this Apr 27, 2025
@itsarune itsarune removed the Stale Inactive pull requests label Apr 29, 2025
@itsarune itsarune reopened this Apr 29, 2025
@GrayHoang GrayHoang self-requested a review May 5, 2025 19:01
GrayHoang
GrayHoang previously approved these changes May 5, 2025

@GrayHoang GrayHoang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice, this removes the deprecation message spamming whenever we build stuff right?
Looked for boost references with grep as well, only found stuff in old bazel cache.

@williamckha williamckha requested a review from GrayHoang May 15, 2025 19:35

@GrayHoang GrayHoang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good just needed a master merge before

@williamckha williamckha merged commit 3eef72e into UBC-Thunderbots:master May 15, 2025
6 checks passed
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.

Replace all usages of boost::bind with lambda function or std::bind

4 participants