8283fa4066
With this change C++17 language features can be used in code that does not need to be be included in client code (not in public headers or the files they transitively include). We haven't investigated the c++17ness of the standard libraries in use by clients so proceed with caution on library features. One thing discovered along the way: throw() in C++17 is now equivalent to noexcept(true). Moreover, the noexcept-ness of a function is part of its type in C++17. This means that if a header declares a function with throw() and it is included in a cpp compiled with C++17 file it will have a different type than if it is compiled in a file compiled with C++14 (or earlier) and you can get linker errors. Here is a change we had to make as a result of this: https://skia.googlesource.com/skia.git/+/4d0fe38f29388ef0aa6893d1d4fc237e758dd11f%5E%21/#F0 Change-Id: I996f2237fdd6b49e2e4cc8d3ff6db9dd536eafd8 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/235022 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Mike Klein <mtklein@google.com> |
||
---|---|---|
.. | ||
toolchain | ||
__init__.py | ||
bench.gni | ||
BUILD.gn | ||
BUILDCONFIG.gn | ||
call.py | ||
checkdir.py | ||
codesign_ios.py | ||
compile_ib_files.py | ||
compile_processors.py | ||
core.gni | ||
cp.py | ||
create_sksl_enums.py | ||
effects_imagefilters.gni | ||
effects.gni | ||
find_headers.py | ||
find_msvc.py | ||
find_xcode_sysroot.py | ||
flutter_defines.gni | ||
fuchsia_defines.gni | ||
gen_plist_ios.py | ||
gm.gni | ||
gn_meta_sln.py | ||
gn_to_bp_utils.py | ||
gn_to_bp.py | ||
gn_to_cmake.py | ||
gpu.gni | ||
highest_version_dir.py | ||
ios.gni | ||
is_clang.py | ||
make_gm_gni.py | ||
opts.gni | ||
pdf.gni | ||
push_to_android.py | ||
run_sksllex.py | ||
samples.gni | ||
shared_sources.gni | ||
skia.gni | ||
sksl.gni | ||
tests.gni | ||
utils.gni | ||
xps.gni |