Skip to content

const keyword in arguments #67564

Discussion options

You must be logged in to vote

You could do this by adding an attribute to the parameter, then writing an analyzer that checks callsites for you. :)

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@CyrusNajmabadi
Comment options

@YoussefAminGomaa
Comment options

@hez2010
Comment options

@YoussefAminGomaa
Comment options

@Xyncgas
Comment options

Answer selected by YoussefAminGomaa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
4 participants