> On Jul 12, 2017, at 10:21 AM, Trevör ANNE DENISE via swift-evolution 
> <swift-evolution@swift.org> wrote:
> 
> After quickly reading "SE-0181: Package Manager C/C++ Language Standard 
> Support" I noticed that as Swift doesn't support "+" sign in identifiers, the 
> format "cxx" was used (as in "CXXLanguageStandard"), why isn't "cpp" used 
> instead of "cxx" ?

Several Swift developers came from clang, and clang uses "CXX" almost 
everywhere.

One reason for clang to use "CXX" is that "CPP" is historically also used for 
the C preprocessor. Using "CPP" for C++ would risk ambiguity.


-- 
Greg Parker     gpar...@apple.com <mailto:gpar...@apple.com>     Runtime 
Wrangler


_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to