New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
true and false should be in \tcode{} when refering to bool value #321
Comments
@burblebee, @zygoloid: Does #977 address this problem? Does it fix it? |
@jensmaurer: Care to check whether this issue is now resolved? :-) |
$ grep -w false *.tex | grep -v tcode | grep -v "//" | grep -v static |
After removing codeblocks, the results of that grep have these three:
I could create another PR, but if it's just a couple of changes it's probably easier for whoever can make the decisions to do it. |
The remaining ones are borderline and best left alone in this general issue. |
In e-mail with Richard:
Dawn: In "or \tcode{alloca-tor_traits<allocator_type>::propagate_on_container_swap::value}
is true within the implementation of the corresponding container operation."
true should be in \tcode{} - ok to fix? Should make global fix in single commit for similar uses?
Richard: Yes, in all cases where it's referring to the 'bool' value 'true' or 'false' we should \tcode it (but not in cases like 5.9/5, where it's referring to the mathematical notion of truth nor in [temp.expl.spec]p5's "The same is true when [...]").
The text was updated successfully, but these errors were encountered: