I opened the draft, moved to its index, searched for the word lambda at that page, and proceeded to successive matches until, at the 5th match, I found
Bond
James Bond, [expr.prim.lambda.capture]
What's that?
I know this is stricly not a question about code, but that stuff is the draft of the standard draft! Furthermore, James Bond appears in the index beside the totally-about-the-language [expr.prim.lambda.capture]
. Not sure whether I should add the language-lawyer tag.
I know the note at the beginning of the draft that reads
Note: this is an early draft. It's known to be incomplet and incorrekt, and it has lots of bad formatting.
but that's exactly the point: is James Bond in the index a "typo" (well, a prank), or maybe I just don't know something quite crucial?
Based on the comments, it seems this is a not-so-infrequent case of jokes in the standard.
A follow-up question (that I don't dare asking separately) would be: "Are these jokes retained in the actual standard?"
atomic<pony> princesses = {};
double ohseven = .007;
(not kidding)