lemon/bits/traits.h
changeset 375 2d87dbd7f8c8
parent 314 2cc60866a0c9
child 440 88ed40ad0d4f
equal deleted inserted replaced
6:eb56b64fa140 7:393b8d2c27ec
   216   > {
   216   > {
   217     static const bool value = true;
   217     static const bool value = true;
   218   };
   218   };
   219 
   219 
   220   template <typename Graph, typename Enable = void>
   220   template <typename Graph, typename Enable = void>
       
   221   struct ArcNumTagIndicator {
       
   222     static const bool value = false;
       
   223   };
       
   224 
       
   225   template <typename Graph>
       
   226   struct ArcNumTagIndicator<
       
   227     Graph,
       
   228     typename enable_if<typename Graph::ArcNumTag, void>::type
       
   229   > {
       
   230     static const bool value = true;
       
   231   };
       
   232 
       
   233   template <typename Graph, typename Enable = void>
   221   struct EdgeNumTagIndicator {
   234   struct EdgeNumTagIndicator {
   222     static const bool value = false;
   235     static const bool value = false;
   223   };
   236   };
   224 
   237 
   225   template <typename Graph>
   238   template <typename Graph>
   229   > {
   242   > {
   230     static const bool value = true;
   243     static const bool value = true;
   231   };
   244   };
   232 
   245 
   233   template <typename Graph, typename Enable = void>
   246   template <typename Graph, typename Enable = void>
       
   247   struct FindArcTagIndicator {
       
   248     static const bool value = false;
       
   249   };
       
   250 
       
   251   template <typename Graph>
       
   252   struct FindArcTagIndicator<
       
   253     Graph,
       
   254     typename enable_if<typename Graph::FindArcTag, void>::type
       
   255   > {
       
   256     static const bool value = true;
       
   257   };
       
   258 
       
   259   template <typename Graph, typename Enable = void>
   234   struct FindEdgeTagIndicator {
   260   struct FindEdgeTagIndicator {
   235     static const bool value = false;
   261     static const bool value = false;
   236   };
   262   };
   237 
   263 
   238   template <typename Graph>
   264   template <typename Graph>