User profile: mbozzi

User info
User name:mbozzi
Bio:ESR's article /How To Ask Questions the Smart Way/ is the best guide to getting quick, effective help that I know of.
http://www.catb.org/esr/faqs/smart-questions.html

That document has substantial problems, but its content is mostly good.

Avoid the common trap of asking about potential solutions rather than your actual problem. Always provide context for the questions you ask.
http://xyproblem.info/

My opinions do not represent the position of my employer.
Statistical data
Occupation:Other
History
Joined:
Number of posts:3932
Latest posts:

what does T = 0 mean in a template parameter?
It makes a non-type template parameter of type T with a default value of 0. C++17 introduced this a...

Fox-Star Search Fun
Try [tt]cl /std:c17 source.c[/tt] to set the language standard.

New Safe C++ Proposal
[quote]If you use safe pointers, safe variables, and you never touch the "dangerous" features, how p...

_Safe_add checks for overflow but does not do anything to report the problem!
Here's the code in Microsoft's STL implementation https://github.com/microsoft/STL/blob/main/stl/inc...

templates class friends strong types
Check out the implementation of [tt]std::chrono::time_point[/tt] and [tt]std::chrono::duration[/tt],...