]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/config/test/boost_no_arg_dep_lookup.ipp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / config / test / boost_no_arg_dep_lookup.ipp
1 // (C) Copyright John Maddock 2001.
2 // Use, modification and distribution are subject to the
3 // Boost Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6 // See http://www.boost.org/libs/config for most recent version.
7
8 // MACRO: BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
9 // TITLE: Koenig lookup
10 // DESCRIPTION: Compiler does not implement
11 // argument-dependent lookup (also named Koenig lookup);
12 // see std::3.4.2 [basic.koenig.lookup]
13
14
15 namespace boost_no_argument_dependent_lookup{
16
17 namespace foobar{
18
19 struct test{};
20
21 void call_test(const test&)
22 {}
23
24 }
25
26 int test()
27 {
28 foobar::test t;
29 call_test(t);
30 return 0;
31 }
32
33
34 }
35
36
37