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

feat: support double type as map/set key #253

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

Millione
Copy link
Member

struct A {
    1: required map<double, double> test_map,
    2: required set<double> test_set,
}

Generated:

pub struct A {
    pub test_map: ::pilota::AHashMap<::pilota::OrderedFloat<f64>, f64>,
    pub test_set: ::pilota::AHashSet<::pilota::OrderedFloat<f64>>,
}

@Millione Millione requested review from a team as code owners June 18, 2024 04:14
@Millione Millione merged commit 81e3a1f into cloudwego:main Jun 18, 2024
9 checks passed
@Millione Millione deleted the feat/ordered_float branch June 18, 2024 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants