1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
15 // mapped_type& operator[](const key_type& k);
17 // https://llvm.org/PR16542
22 int main(int, char**) {
23 std::map
<std::tuple
<int, int>, std::size_t> m
;
24 m
[std::make_tuple(2, 3)] = 7;