Hacker News new | ask | show | jobs
by pjmlp 1569 days ago
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.

1 comments

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.

Either that, or be like MFC/ATL and provide a couple of pre-compiled versions for common workflows.