COIN-OR::LEMON - Graph Library

Changeset 2290:f30867b359a8 in lemon-0.x for lemon/bits/traits.h


Ignore:
Timestamp:
11/03/06 15:20:24 (18 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3055
Message:

GraphCopy? and UGraphCopy modifications
Preliminary support for static graphs

=> cloning graphs

Added BpUGraphCopy

Tests for graph copies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/bits/traits.h

    r2039 r2290  
    324324  };
    325325
    326 
     326  template <typename Graph, typename Enable = void>
     327  struct CloneableTagIndicator {
     328    static const bool value = false;
     329  };
     330
     331  template <typename Graph>
     332  struct CloneableTagIndicator<
     333    Graph,
     334    typename enable_if<typename Graph::CloneableTag, void>::type
     335  > {
     336    static const bool value = true;
     337  };
    327338
    328339}
Note: See TracChangeset for help on using the changeset viewer.