1// Copyright 2023 Peter Dimov.
2// Distributed under the Boost Software License, Version 1.0.
3
4#include <boost/tuple/tuple.hpp>
5#include <boost/core/lightweight_test.hpp>
6
7int main()
8{
9 boost::tuple<int, int, int> tp( 1, 2, 3 );
10
11 BOOST_TEST_EQ( boost::get<0>(tp), 1 );
12 BOOST_TEST_EQ( boost::get<1>(tp), 2 );
13 BOOST_TEST_EQ( boost::get<2>(tp), 3 );
14
15 return boost::report_errors();
16}
17

source code of boost/libs/tuple/test/quick.cpp