| 1 | #include <iostream>
|
|---|
| 2 | #include <vector>
|
|---|
| 3 | #include <boost/concept_check.hpp>
|
|---|
| 4 | #include <boost/range/concepts.hpp>
|
|---|
| 5 | using namespace std;
|
|---|
| 6 |
|
|---|
| 7 | int main()
|
|---|
| 8 | {
|
|---|
| 9 | typedef std::vector<int> cont_;
|
|---|
| 10 | using namespace boost;
|
|---|
| 11 | function_requires<SinglePassRangeConcept<cont_> >();
|
|---|
| 12 | return 0;
|
|---|
| 13 |
|
|---|
| 14 | }
|
|---|