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:3747
Latest posts:

indirectly_readable is false for std::optional??
[quote]The resulting value when applying the operator* is the same reference type for const and non-...

trick with type_identity_t
[tt]type_identity_t<To[]>[/tt] is used here to satisfy an arbitrary restriction in the C++ language ...

Be careful when storing the result of std::clamp as a reference
[quote]How exactly is the first version better or faster?[/quote] It isn't. If the argument is ex...

Be careful when storing the result of std::clamp as a reference
[quote]for ex. POD data should not never be const by reference in function parameters since you gain...

regex_search icase
The expensive part of constructing a typical regex is probably the process of compiling it into a fi...