🍌 C++ Feed
305 subscribers
218 photos
12.7K links
Агрегатор всего подряд про C++.

Для связи: @smertig

Powered by https://github.com/Smertig/banana
Download Telegram
C++
Windows and C++ exceptions

(c) 2020 by [email protected] -- LICENSE_DBJ -- https://dbj.org/license_dbj/ What seems to be the issue? The issue seems to be it is not clearly documented how to use full and standard C++ and MS STL without C++ exceptions, on Windows. SEH build -- is cl.exe C/C++ build without any /EH switch or with a famous /kernel switch. SEH is intrinsic to Windows. SEH is in the foundations of Windows programming. I have made this little project to approve or disapprove your doubts. Also on the official side, things are happening around this issue: ...

Read full post
C++
Tool for "Go to definition"

Hello, as you know many IDE's/Editors feature a "Go to definition" command that finds the definition of whatever the cursor is currently on. If you have a large and complex program, these tools will/can only work if they know the build process. What tool can you recommend my for "Go to definition". I need one that not only works in most cases, but in all cases(so it needs to know the build process). The build process is a fork of gnu make, but I have a json compilation database that I generated using bear. ​ I basically need the rust language server, but for c++ instead of rust. submitted by /u/Volker_Weissmann
...

Read full post
vector{ true, true, false };
A New Approach to Build-Time Library Configuration

Pain

If you’ve been around the block of C and C++ libraries for more than a brief
glance, you have inevitably seen a tweakme.h or two. Maybe a configure
script with a few dozen command-line flags? Or maybe you’ve been told to pop
open ccmake and flip some switches? Have you ever juggled command-line flags
in a build script three layers deep just to enable/disable some workaround in
some library thats being pulled in as a dependency of a dependency of a
dependency?

Don’t worry. I hear you cry. I too have wrestled with such pains.

What’s the Big Idea?

Why do libraries offer these build-time switches? What do they accomplish?

In the majority of situations, I believe that offering compile-time tweaks are
an antipattern...

Read full post