Changeset 139:701c529ba737 in lemon for lemon/bits/traits.h
 Timestamp:
 04/22/08 15:04:00 (14 years ago)
 Branch:
 default
 Phase:
 public
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

lemon/bits/traits.h
r107 r139 217 217 218 218 template <typename Graph, typename Enable = void> 219 struct ArcNumTagIndicator {220 static const bool value = false; 221 }; 222 223 template <typename Graph> 224 struct ArcNumTagIndicator<225 Graph, 226 typename enable_if<typename Graph:: ArcNumTag, void>::type227 > { 228 static const bool value = true; 229 }; 230 231 template <typename Graph, typename Enable = void> 232 struct Find ArcTagIndicator {233 static const bool value = false; 234 }; 235 236 template <typename Graph> 237 struct Find ArcTagIndicator<238 Graph, 239 typename enable_if<typename Graph::Find ArcTag, void>::type219 struct EdgeNumTagIndicator { 220 static const bool value = false; 221 }; 222 223 template <typename Graph> 224 struct EdgeNumTagIndicator< 225 Graph, 226 typename enable_if<typename Graph::EdgeNumTag, void>::type 227 > { 228 static const bool value = true; 229 }; 230 231 template <typename Graph, typename Enable = void> 232 struct FindEdgeTagIndicator { 233 static const bool value = false; 234 }; 235 236 template <typename Graph> 237 struct FindEdgeTagIndicator< 238 Graph, 239 typename enable_if<typename Graph::FindEdgeTag, void>::type 240 240 > { 241 241 static const bool value = true;
Note: See TracChangeset
for help on using the changeset viewer.