lemon/concepts/path.h
changeset 371 164fe3abc024
parent 280 e7f8647ce760
parent 278 931190050520
child 440 88ed40ad0d4f
equal deleted inserted replaced
7:66a80d5d9c03 8:acb1b40e8a58
    63       template <typename CPath>
    63       template <typename CPath>
    64       Path(const CPath& cpath) {}
    64       Path(const CPath& cpath) {}
    65 
    65 
    66       /// \brief Template assigment
    66       /// \brief Template assigment
    67       template <typename CPath>
    67       template <typename CPath>
    68       Path& operator=(const CPath& cpath) {}
    68       Path& operator=(const CPath& cpath) {
       
    69         ignore_unused_variable_warning(cpath);
       
    70         return *this;
       
    71       }
    69 
    72 
    70       /// Length of the path ie. the number of arcs in the path.
    73       /// Length of the path ie. the number of arcs in the path.
    71       int length() const { return 0;}
    74       int length() const { return 0;}
    72 
    75 
    73       /// Returns whether the path is empty.
    76       /// Returns whether the path is empty.