diff options
author | Dino Radakovic <dinor@google.com> | 2024-03-15 12:55:53 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-03-15 12:56:47 -0700 |
commit | 153186b6931d0755448da8d200e1b8e43acede48 (patch) | |
tree | b91c01c7d46937add450d983f51e119a4e245b32 /absl/base/internal/inline_variable_testing.h | |
parent | 16e21953352993faeb83d16d4bce99718e6e9d9c (diff) | |
download | abseil-153186b6931d0755448da8d200e1b8e43acede48.tar.gz abseil-153186b6931d0755448da8d200e1b8e43acede48.tar.bz2 abseil-153186b6931d0755448da8d200e1b8e43acede48.zip |
`layout`: Use auto return type for functions that explicitly instantiate std::tuple in return statements
This improves readability by avoiding spelling the same type twice, the first time with even more boilerplate (e.g. `typename`).
Return type deduction is a C++14 feature, and Abseil [currently supports](https://github.com/google/oss-policies-info/blob/9a9bfe8a4a12be20757497074fc2f0ecb77438ad/foundational-cxx-support-matrix.md) C++ >= 14.
PiperOrigin-RevId: 616218396
Change-Id: I82aeec878dd69001d2cf822db6512f5a62baec02
Diffstat (limited to 'absl/base/internal/inline_variable_testing.h')
0 files changed, 0 insertions, 0 deletions