forked from RosettaCommons/binder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
T42.stl.names.map.hpp
44 lines (36 loc) · 1.24 KB
/
T42.stl.names.map.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// Copyright (c) 2016 Sergey Lyskov <[email protected]>
//
// All rights reserved. Use of this source code is governed by a
// MIT license that can be found in the LICENSE file.
/// @file binder/test/T42.stl.names.map.hpp
/// @brief Binder self-test file. Tests for bindings of STL classes.
/// @author Sergey Lyskov
/// The multimap/multiset classes are tested in the binder/test/T43.stl.names.multi.hpp to avoid
/// problems with different ordering of multiset/set and multimap/map bindings
/// in the generated files on different platforms.
#ifndef _INCLUDED_T42_stl_names_map_hpp_
#define _INCLUDED_T42_stl_names_map_hpp_
#include <functional>
#include <map>
#include <unordered_map>
#include <deque>
#include <forward_list>
#include <list>
#include <string>
#include <vector>
void foo(std::map<float, int>)
{
}
void foo(std::unordered_map<float, int>)
{
}
void foo(std::map<std::string, std::list< std::forward_list< std::deque< std::vector<double> > > > >)
{
}
void foo(std::unordered_map<std::string, std::list< std::forward_list< std::deque< std::vector<double> > > > >)
{
}
#endif // _INCLUDED_T42_stl_names_map_hpp_