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

Add emplace_back, move_assignment to BoundedVector #385

Merged
merged 2 commits into from
Jun 7, 2019

Conversation

cho3
Copy link
Contributor

@cho3 cho3 commented Jun 5, 2019

Resolve #384

Signed-off-by: Christopher Ho <christopherj.ho@gmail.com>
Copy link
Member

@ivanpauno ivanpauno left a comment

Choose a reason for hiding this comment

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

@cho3
Copy link
Contributor Author

cho3 commented Jun 6, 2019

Could you add usage of the added methods in the test https://github.com/ros2/rosidl/blob/master/rosidl_generator_cpp/test/test_bounded_vector.cpp?

Done. Thanks for the reminder--I got lazy.

Copy link
Member

@ivanpauno ivanpauno left a comment

Choose a reason for hiding this comment

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

LGTM

@ivanpauno
Copy link
Member

CI (fastrtps, up to rosidl_generator_cpp):

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

Copy link
Member

@wjwwood wjwwood left a comment

Choose a reason for hiding this comment

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

lgtm, with one nitpick

- Use `auto` for portability
- Add unit tests
- Add documentation

Signed-off-by: Christopher Ho <christopher.ho@apex.ai>
@ivanpauno
Copy link
Member

Sanity check (fastrtps, up to rosidl_generator_cpp):

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@ivanpauno ivanpauno merged commit 9ffe214 into ros2:master Jun 7, 2019
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.

BoundedVector missing emplace_back
5 participants