gravatar
kpeter (Peter Kovacs)
kpeter@inf.elte.hu
Also check ReferenceMapTag in concept checks (#312)
0 2 0
default
2 files changed with 6 insertions and 1 deletions:
↑ Collapse diff ↑
Ignore white space 4 line context
... ...
@@ -50,4 +50,6 @@
50 50
    typedef typename Parent::ConstReference ConstReference;
51 51

	
52
    typedef typename Parent::ReferenceMapTag ReferenceMapTag;
53

	
52 54
    class MapIt;
53 55
    class ConstMapIt;
... ...
@@ -192,4 +194,6 @@
192 194
    typedef typename Parent::ConstReference ConstReference;
193 195

	
196
    typedef typename Parent::ReferenceMapTag ReferenceMapTag;
197

	
194 198
    class MapIt;
195 199
    class ConstMapIt;
Ignore white space 4 line context
... ...
@@ -183,5 +183,6 @@
183 183
      template<typename _ReferenceMap>
184 184
      struct Constraints {
185
        void constraints() {
185
        typename enable_if<typename _ReferenceMap::ReferenceMapTag, void>::type
186
        constraints() {
186 187
          checkConcept<ReadWriteMap<K, T>, _ReferenceMap >();
187 188
          ref = m[key];
0 comments (0 inline)