|
Last change
on this file since 29 was
29,
checked in by landauf, 17 years ago
|
|
updated boost from 1_33_1 to 1_34_1
|
|
File size:
540 bytes
|
| Rev | Line | |
|---|
| [29] | 1 | // Copyright Daniel Wallin 2005. Use, modification and distribution is |
|---|
| 2 | // subject to the Boost Software License, Version 1.0. (See accompanying |
|---|
| 3 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
|---|
| 4 | |
|---|
| 5 | #include <boost/parameter.hpp> |
|---|
| 6 | #include <string.h> |
|---|
| 7 | #include "basics.hpp" |
|---|
| 8 | |
|---|
| 9 | namespace test |
|---|
| 10 | { |
|---|
| 11 | template <class Params> |
|---|
| 12 | void f(Params const &) {} |
|---|
| 13 | } |
|---|
| 14 | |
|---|
| 15 | int main() |
|---|
| 16 | { |
|---|
| 17 | using namespace test; |
|---|
| 18 | |
|---|
| 19 | f((name = 1, value = 1, test::index = 1, tester = 1, |
|---|
| 20 | value = 1 // repeated keyword: should not compile |
|---|
| 21 | )); |
|---|
| 22 | return 0; |
|---|
| 23 | } |
|---|
| 24 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.