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

Allow assignment of common attribute values to OptionalValue #24

Open
bpe2 opened this issue Jun 30, 2021 · 0 comments
Open

Allow assignment of common attribute values to OptionalValue #24

bpe2 opened this issue Jun 30, 2021 · 0 comments
Assignees

Comments

@bpe2
Copy link
Contributor

bpe2 commented Jun 30, 2021

It's somewhat inconvenient when assigning values to optional attributes to type out the full, templated type. This also causes confusion when assigning those attributes, as it may not be easy to recall for the user which attributes require this extra work.

Allow OptionalValue to be implicitly converted from another value type corresponding to its contained type (e.g., OptionalValue<double> should be able to be constructed by a DoubleValue). Since this requires manual conversions. only cover the common attribute types for these values

@bpe2 bpe2 self-assigned this Jun 30, 2021
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

No branches or pull requests

1 participant