[Bug]: variant index returns wrong value
未关闭
- 主要语言
- C++
- 星标
- 18.1k
- 派生
- 3.2k
- 平均合并
- 20 小时 36 分钟
- 30 天内合并 PR
- 1
描述
### Describe the issue
variant index returns wrong value
### Steps to reproduce the problem
std::variant test_std = "test";
absl::variant test_absl = "test";
std::cout << test_std.index() << " <->" << test_absl.index(); // 0 <-> 1
### What version of Abseil are you using?
Current Chromium Code
### What operating system and version are you using?
Win 11
### What compiler and version are you using?
Current Chromium Code
### What build system are you using?
Current Chromium Code
### Additional context
_No response_
贡献指南
评估
这个 Issue 还没有评估数据。