blob: 53d0a4efd3865216561f3e00bfb61d8a4ef4c0fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include <string>
#include <tuple>
int main() {
std::tuple<> empty;
std::tuple<int> one_elt{47};
std::tuple<std::string> string_elt{"foobar"};
std::tuple<int, long, std::string> three_elts{1, 47l, "foo"};
auto *foo = ∅ // needed with MSVC STL to keep the variable
return 0; // break here
}
|