mirror of
https://github.com/changkun/modern-cpp-tutorial.git
synced 2025-12-17 12:44:40 +03:00
fix: compilation error for structured binding (#35)
The header <tuple> is missing. After adding it, it compiles fine with clang in c++17 mode.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
//
|
||||
|
||||
#include <iostream>
|
||||
#include <tuple>
|
||||
#include <string>
|
||||
|
||||
std::tuple<int, double, std::string> f() {
|
||||
|
||||
Reference in New Issue
Block a user