python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Intellisense does not show function descriptions in Visual Studio Code for C++ using the clang++ compiler on macOS
So I'm just starting to learn C++ and I decided to use Visual Studio Code as my development environment and use the clang++ compiler on macOS.
I followed the official Using Clang in Visual Studio Code...
chipree
Votes: 0
Answers: 1
Ternary operator works with constexpr expressions but `if constexpr` does
I am playing around in C++17 with clang version 13.0.0 to test whether a given constexpr value is NaN with wrappers but I keep getting errors with if constexpr but the compiler passes using ternary op...

Kish
Votes: 0
Answers: 0
Bizarre struct member packing in 32-bit clang
I stumbled upon a very bizarre struct member packing in 32-bit clang. Here is the link to the compiler explorer experiment.
In essence, I have the following structs:
struct _8Bytes
{
uint64_t _8by...
Egor
Votes: 0
Answers: 1
Undefined symbols for architecture x86_64 with OS Monterey
I just reinstall my system from OS HighSierra to OS Monterey and restart my system from scratch. I reinstall XCode from AppleStore, but after that when I try to compile C++ and there is class in the c...

Knupel
Votes: 0
Answers: 0