Workaround to avoid issue in clang 17 https://discourse.llvm.org/t/pack-expansion-bug/64910
13 lines
206 B
C++
13 lines
206 B
C++
#include <iostream>
|
|
#include <map>
|
|
#include <tuple>
|
|
|
|
int
|
|
main()
|
|
{
|
|
std::map<std::tuple<int, int>, int> testMap;
|
|
testMap[{1, 1}] = 2;
|
|
std::cout << testMap.at({1, 1}) << std::endl;
|
|
return 0;
|
|
}
|