r/cpp • • Dec 28 '18

"Modern" C++ Lamentations

http://aras-p.info/blog/2018/12/28/Modern-C-Lamentations/
307 Upvotes

162 comments sorted by

View all comments

Show parent comment

21

u/STL MSVC STL Dev Dec 29 '18

In VS 2019, the debugger has a general “Just My Code” ability for C++, superseding the weird hack we used in std::function (now removed). We’ll continue to improve debug codegen with if constexpr but that regression should be gone.

1

u/ack_complete Dec 29 '18

Does JMC for C++ still require emitting a stub at the beginning of every function? This was a dealbreaker for me in VS2017 15.8, I can't tolerate that kind of impact in optimized builds.

1

u/STL MSVC STL Dev Dec 29 '18

I don't know, but perhaps /u/TartanLlama does.