forked from RosettaCommons/binder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
T42.stl.names.hpp
50 lines (42 loc) · 1.19 KB
/
T42.stl.names.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
45
46
47
48
49
50
// -*- 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.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_hpp_
#define _INCLUDED_T42_stl_names_hpp_
#include <deque>
#include <forward_list>
#include <functional>
#include <list>
#include <vector>
void foo(std::list<double>)
{
}
void foo(std::forward_list<float>)
{
}
void foo(std::vector<double>)
{
}
void foo(std::deque<int>)
{
}
void foo(std::vector< std::vector<double> >)
{
}
void foo(std::vector< std::vector< std::vector<double> > >)
{
}
void foo(std::vector< std::list< std::forward_list< std::deque<double> > > >)
{
}
#endif // _INCLUDED_T42_stl_names_hpp_