And another bollocks post.
I don't think I'll be answering this one.
I was posed a question recently as to why the C++ expression true == true == true compiled successfully. The person asking was sure that equality comparison held no associativity and that the expression was thus too ambiguous to be well-formed.
Having come up against disbelievers too often now, I've decided to take matters into my own hands and definitively conclude this argument once and for all.
From the MySQL documentation on LAST_INSERT_ID() and AUTO_INCREMENT columns…
A version of my previous post (a tidy, all-in-one table of all the C++03 container iterator invalidation rules) updated for C++0x.
I've not found a tidy, all-in-one table of all the C++03 container iterator invalidation rules. So, with references, here they are!
Tempted to count the passage of CPU time with the clock() POSIX call? Be careful.
Keeping it low-key this week, let's re-iterate (lol) the conventional map-erase idiom in C++.
In an unprecedented feat of miraculousness, Freenode's ##C++ discussion channel saw — in the space of no more than twenty minutes — the same question asked twice of one of C++'s more subtle features. Just how do you declare a friend from the global namespace? I find out.







