Wednesday, January 19, 2022

Digest for comp.lang.c++@googlegroups.com - 3 updates in 2 topics

Lynn McGuire <lynnmcguire5@gmail.com>: Jan 18 07:24PM -0600

"How we used C++20 to eliminate an entire class of runtime bugs" by
Cameron DaCamara

https://devblogs.microsoft.com/cppblog/how-we-used-cpp20-to-eliminate-an-entire-class-of-runtime-bugs/
 
"C++20 is here and has been supported in MSVC since 16.11, but today's
post is not about how you can use it, but rather how we used it to
effectively eliminate an entire class of runtime bugs by hoisting a
check into compile-time. Let's get right into it!"
 
Lynn
James Kuyper <jameskuyper@alumni.caltech.edu>: Jan 18 07:03PM -0500

On 1/18/22 2:32 PM, Andrey Tarasevich wrote:
...
> this?" "Why is it legal?" To me the answer is natural and obvious: why
> not? No harm done, no need to overcomplicate things. This has always
> been one of the cornerstone principles in thois language's design.
 
When you're claiming that what it actually says in 9.2.1p2 is
irrelevant, and stuff that it says nowhere in 9.2.7 is actually the
primary purpose of the 'inline' specifier, then you're going to need
better arguments than those. Having confirmed that you don't have any,
I'm going to leave this discussion - it's not going anywhere.
Andrey Tarasevich <andreytarasevich@hotmail.com>: Jan 18 05:22PM -0800

On 1/18/2022 4:03 PM, James Kuyper wrote:
> primary purpose of the 'inline' specifier, then you're going to need
> better arguments than those. Having confirmed that you don't have any,
> I'm going to leave this discussion - it's not going anywhere.
 
Sigh... It appears that I'm trying to prove that Earth is round at a
meeting of Flat Earth Society. "You're going to need better arguments
than those", they say... )))
 
Sorry, boys, but to prevent any further time-wasting I'm going to have
to pull the rank here: at this point just study, take notes and commit
to memory what I said above. If you feel that you need extra
rationale/argumentation to better understand the material - you'll find
all that later (leave to you as an exercise).
 
--
Best regards,
Andrey Tarasevich
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com.

No comments: