News for hackers. Stuff that matters.
Re:C++ Cheat Sheets by pjmlp on Monday March 07, 2022 @02:02AM (#30584951)
Still looking forward to a solution for _ITERATOR_DEBUG_LEVEL in release builds with modules, VS DevCommunity ticket does exist.

Currently it appears anyone that cares about bounds checking and iterator validation in release builds, has to keep using global module fragments.

Re:C++ Cheat Sheets by Negitivefrags on Monday March 07, 2022 @03:30AM (#30585440)
I have the opposite problem. I can't use modules because I need _ITERATOR_DEBUG_LEVEL=0 in debug builds.

The standard library modules really need to be built as part of your projects build so that you can compile them however you want.

Re:C++ Cheat Sheets by pjmlp on Monday March 07, 2022 @04:10AM (#30585686)
Either that, or be like MFC/ATL and provide a couple of pre-compiled versions for common workflows.