Skip to content

Invalid cast lexy::lexeme<lexy::_br8> to int processing a float #166

Closed Answered by EmmanuelMess
EmmanuelMess asked this question in Q&A
Discussion options

You must be logged in to vote

The problem here is that dsl::capture returns a lexme, changing the capture to dsl::capture(dsl::digits<>) works.

Replies: 1 comment

Comment options

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