Skip to content

Type deduction for fields with initializers? #4116

Answered by acaly
acaly asked this question in Q&A
Discussion options

You must be logged in to vote

I realized this can be simplified with target-typed new, although it might not cover all situations.

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
9 replies
@pha3z
Comment options

@acaly
Comment options

@HaloFour
Comment options

@CyrusNajmabadi
Comment options

@CyrusNajmabadi
Comment options

Answer selected by acaly
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants