How to use C ++ 14 with Xcode?

I just bought macbook air, I installed Xcode, but it did not have C ++ 14, I read some streams in stackoverflow and they mention something like clang, what is clang and how to end this process? layman terms, i'm completely new to mac.

+4
source share
2 answers

Clang / LLVM is the default Macs compiler.


Now about C ++ 14:

Clang has experimental support for some of the proposed features of the C ++ standard after C ++ 14, tentatively named C ++ 1z. Please note that support for these functions may be changed or removed without prior notice as the draft C ++ 1z standard is being developed.

Clang ++ 1z -std = ++ 1z.

Clang/LLVM

"-std = ++ 1z" Xcode ( ).

+2

. : enter image description here

++ 14. .

+1

Source: https://habr.com/ru/post/1681076/


All Articles