1//===----------------------------------------------------------------------===//
2//
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
6//
7//===----------------------------------------------------------------------===//
8
9// <map>
10
11// class map
12
13// insert(...);
14// emplace(...);
15// emplace_hint(...);
16
17// UNSUPPORTED: c++03
18
19#include <map>
20
21#include "test_macros.h"
22#include "container_test_types.h"
23#include "../../../map_allocator_requirement_test_templates.h"
24
25int main(int, char**)
26{
27 testMapInsert<TCT::map<> >();
28 testMapInsertHint<TCT::map<> >();
29 testMapEmplace<TCT::map<> >();
30 testMapEmplaceHint<TCT::map<> >();
31
32 return 0;
33}
34

source code of libcxx/test/std/containers/associative/map/map.modifiers/insert_and_emplace_allocator_requirements.pass.cpp