Supported C++ Versions
Cloud Client Libraries for C++ are compatible with C++ 14, C++ 17, and C++ 20 revisions
of the C++ standard.
For more information about Cloud Client Libraries, see
Client libraries explained.
All C++ compilers have defects and may not completely implement the C++
standard. The Cloud Client Libraries for C++ are tested with multiple versions of GCC,
CLang, and MSVC to ensure they work in your development environment. To see the
specific versions of these compilers we test on, see the
support matrix.
Other C++ libraries provided by Google, such as gRPC,
Protobuf,
and Abseil,
use the same support matrix.
For new development
When starting a new project, we recommend choosing the current version of C++
and the latest version of the compiler you plan to use. This ensures you have
access to the latest features in the language and standard library, and that
you will receive critical patches to the library and compiler.
Keeping production systems current
Keeping your production systems on supported C++ compilers and libraries is the
best way to ensure that you receive critical security and bug fixes. Our C++
Cloud Client Libraries routinely release new minor versions with new features,
performance improvements, and with support for newer compilers.
The previously mentioned support matrix is the most up to date information
about what versions of C++, C++ compilers, and C++ build tools are supported.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eCloud Client Libraries for C++ are compatible with C++ 14, C++ 17, and C++ 20 revisions.\u003c/p\u003e\n"],["\u003cp\u003eThese libraries are tested with multiple versions of GCC, CLang, and MSVC to ensure functionality across various development environments.\u003c/p\u003e\n"],["\u003cp\u003eNew projects should use the latest C++ version and compiler for access to the newest features and critical updates.\u003c/p\u003e\n"],["\u003cp\u003eMaintaining current C++ compilers and libraries in production systems is recommended to ensure security and receive bug fixes.\u003c/p\u003e\n"],["\u003cp\u003eThe support matrix provides the most up-to-date information regarding supported C++, compilers, and build tools.\u003c/p\u003e\n"]]],[],null,["# Supported C++ Versions\n\nCloud Client Libraries for C++ are compatible with C++ 14, C++ 17, and C++ 20 revisions\nof the [C++ standard](https://isocpp.org/).\nFor more information about Cloud Client Libraries, see\n[Client libraries explained](/apis/docs/client-libraries-explained#cloud-client-libraries).\n\nAll C++ compilers have defects and may not completely implement the C++\nstandard. The Cloud Client Libraries for C++ are tested with multiple versions of GCC,\nCLang, and MSVC to ensure they work in your development environment. To see the\nspecific versions of these compilers we test on, see the\n[support matrix](https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md).\n\nOther C++ libraries provided by Google, such as [gRPC](https://grpc.io/),\n[Protobuf](https://developers.google.com/protocol-buffers),\nand [Abseil](https://abseil.io/),\nuse the same support matrix.\n\nFor new development\n-------------------\n\nWhen starting a new project, we recommend choosing the current version of C++\nand the latest version of the compiler you plan to use. This ensures you have\naccess to the latest features in the language and standard library, and that\nyou will receive critical patches to the library and compiler.\n\nKeeping production systems current\n----------------------------------\n\nKeeping your production systems on supported C++ compilers and libraries is the\nbest way to ensure that you receive critical security and bug fixes. Our C++\nCloud Client Libraries routinely release new minor versions with new features,\nperformance improvements, and with support for newer compilers.\n\nWhere to find version information\n---------------------------------\n\nThe previously mentioned [support matrix](https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md) is the most up to date information\nabout what versions of C++, C++ compilers, and C++ build tools are supported."]]