Skip to content

DOCTEST_CONFIG_DISABLE : Test code is still compiled? #740

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

You must be logged in to vote

Yeah, the code is still being compiled, but it is being turned into a template that is never instantiated. But should still be able to parse. If you want to remove it completely you should #ifdef it altogether just like the function foo

Replies: 1 comment

Comment options

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