Changeset 94:a4688e4138ec in lemon-1.2 for test
- Timestamp:
- 03/18/08 13:57:15 (17 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/maps_test.cc
r82 r94 32 32 inline bool operator<(A, A) { return true; } 33 33 struct B {}; 34 35 class C { 36 int x; 37 public: 38 C(int _x) : x(_x) {} 39 }; 34 40 35 41 class F { … … 59 65 // Map concepts 60 66 checkConcept<ReadMap<A,B>, ReadMap<A,B> >(); 67 checkConcept<ReadMap<A,C>, ReadMap<A,C> >(); 61 68 checkConcept<WriteMap<A,B>, WriteMap<A,B> >(); 69 checkConcept<WriteMap<A,C>, WriteMap<A,C> >(); 62 70 checkConcept<ReadWriteMap<A,B>, ReadWriteMap<A,B> >(); 71 checkConcept<ReadWriteMap<A,C>, ReadWriteMap<A,C> >(); 63 72 checkConcept<ReferenceMap<A,B,B&,const B&>, ReferenceMap<A,B,B&,const B&> >(); 73 checkConcept<ReferenceMap<A,C,C&,const C&>, ReferenceMap<A,C,C&,const C&> >(); 64 74 65 75 // NullMap
Note: See TracChangeset
for help on using the changeset viewer.