mirror of
https://github.com/abseil/abseil-cpp.git
synced 2026-06-04 12:07:05 +08:00
Fix comment in variant.h to refer to absl::variant.
The comment is updated to accurately reflect that `absl::variant` was the polyfill and is now an alias for `std::variant`. PiperOrigin-RevId: 919336725 Change-Id: If39bd3f61f229f561d547391ca97015688b1fad1
This commit is contained in:
committed by
Copybara-Service
parent
0e9e3daf54
commit
f883d40d20
@@ -16,9 +16,9 @@
|
||||
// variant.h
|
||||
// -----------------------------------------------------------------------------
|
||||
//
|
||||
// Historical note: Abseil once provided an implementation of `std::variant`
|
||||
// Historical note: Abseil once provided an implementation of `absl::variant`
|
||||
// as a polyfill for `std::variant` prior to C++17. Now that C++17 is required,
|
||||
// `std::variant` is an alias for `std::variant`.
|
||||
// `absl::variant` is an alias for `std::variant`.
|
||||
|
||||
#ifndef ABSL_TYPES_VARIANT_H_
|
||||
#define ABSL_TYPES_VARIANT_H_
|
||||
|
||||
Reference in New Issue
Block a user