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 support for vectors of strings #106

Merged
merged 2 commits into from
Oct 7, 2023
Merged

Conversation

jsallay
Copy link
Collaborator

@jsallay jsallay commented Oct 7, 2023

Add a new type to the pmt variant: std::vector<std::string> with unit tests.

Signed-off-by: John Sallay <jasallay@gmail.com>
Copy link
Collaborator

@RalphSteinhagen RalphSteinhagen left a comment

Choose a reason for hiding this comment

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

Nice and sweet PR. Thanks for the additions and changes @jsallay!

LGTM! 👍

@@ -102,7 +102,7 @@ TYPED_TEST(PmtVectorFixture, VectorConstructors)

// Range Constructor
pmt range_vec(vec_t<TypeParam>, vec.begin(), vec.end());
EXPECT_EQ(range_vec.size(), num_values);
EXPECT_EQ(range_vec.size(), size_t(num_values));
Copy link
Collaborator

Choose a reason for hiding this comment

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

old-style pointer cast

Signed-off-by: John Sallay <jasallay@gmail.com>
@jsallay jsallay merged commit e22b410 into gnuradio:main Oct 7, 2023
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.

2 participants