Skip to content

Commit f26e597

Browse files
authored
doc: enhance desc of cpp section
1 parent 97ab915 commit f26e597

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/src/cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ be nowhere near as nice as using them in C++. You will have to manually call
77
constructors, destructors, overloaded operators, etc yourself.
88

99
When passing in header files, the file will automatically be treated as C++ if
10-
it ends in `.hpp`. If it doesn't, adding `-x c++` clang args can be used to
10+
it ends in `.hpp`. If it doesn't, adding `clang_args(["-x", "c++"])` can be used to
1111
force C++ mode. You probably also want to use `-std=c++14` or similar clang args
1212
as well.
1313

0 commit comments

Comments
 (0)