Ticket #6305: test.2.cpp
| File test.2.cpp, 325 bytes (added by , 11 years ago) |
|---|
| Line | |
|---|---|
| 1 | #include <assert.h> |
| 2 | #include <vector> |
| 3 | |
| 4 | #include "boost/algorithm/string/predicate.hpp" |
| 5 | |
| 6 | struct Test |
| 7 | : |
| 8 | public std::vector<int> |
| 9 | { |
| 10 | Test() { } |
| 11 | |
| 12 | private: |
| 13 | Test(const Test&); // declare, but don't implement - non-copyable |
| 14 | }; |
| 15 | |
| 16 | int main() |
| 17 | { |
| 18 | Test a; |
| 19 | Test b; |
| 20 | boost::algorithm::equals(a, b); |
| 21 | |
| 22 | return 0; |
| 23 | } |
