Skip to content

Implement Encode for more types #26

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
SSheldon opened this issue Aug 18, 2015 · 1 comment · Fixed by madsmtm/objc2#14 or madsmtm/objc2#52
Open

Implement Encode for more types #26

SSheldon opened this issue Aug 18, 2015 · 1 comment · Fixed by madsmtm/objc2#14 or madsmtm/objc2#52

Comments

@SSheldon
Copy link
Owner

Encode should be implemented for more types. For example, it currently doesn't support pointers to many value types; this could easily be added for all value types, except it'd conflict with the implementation for C strings.

Specialization, as described in rust-lang/rfcs#1210, would allow implementing this.

@SSheldon
Copy link
Owner Author

SSheldon commented Mar 5, 2016

The specialization RFC was accepted! Tracking issue: rust-lang/rust#31844

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
1 participant