type mismatch using template in C++
I've written a class using template (in file `abc.hpp`):

    template <class Node>
    class Edge {
	public:
		Edge(Node n1, Node n2):_start(MIN(n1,n2)),_end(MAX(n1,n2)) {};
		Node GetStart ()const {return _start;}
		Node GetEnd ()const {return _end;}
		friend std::ostream& operator<<(std::ostream& os, const Edge<Node>& ed)
		{
			os << "(" << ed._start << ", " << ed._end << ")";
			return os;
		}
	protected:
		Node _start;
		Node _end;
    };
And I've written a test program:

    #include <iostream>
    #include "abc.hpp"

    int main (){
      Edge<int> my_var (1,2);
      Edge<int> my_var2 (1,3);
      int vstart = my_var.GetStart;
      int vend = my_var.GetEnd;
      cout << my_var << " : " << my_var2 << endl;
    }

When I try to compile it (using devcpp) the compiler puts out an error message:

    argument of type `int(Edge<int>::)() const` does not match `int`
regarding the lines `int vstart = my_var.GetStart;` and `int vend = my_var.GetEnd;`
what is the problem, and how do I fix it?
type mismatch using template in C++
===

I've written a class using template (in file `abc.hpp`):

    template <class Node>
    class Edge {
	public:
		Edge(Node n1, Node n2):_start(MIN(n1,n2)),_end(MAX(n1,n2)) {};
		Node GetStart ()const {return _start;}
		Node GetEnd ()const {return _end;}
		friend std::ostream& operator<<(std::ostream& os, const Edge<Node>& ed)
		{
			os << "(" << ed._start << ", " << ed._end << ")";
			return os;
		}
	protected:
		Node _start;
		Node _end;
    };
And I've written a test program:

    #include <iostream>
    #include "abc.hpp"

    int main (){
      Edge<int> my_var (1,2);
      Edge<int> my_var2 (1,3);
      int vstart = my_var.GetStart;
      int vend = my_var.GetEnd;
      cout << my_var << " : " << my_var2 << endl;
    }

When I try to compile it (using devcpp) the compiler puts out an error message:

    argument of type `int(Edge<int>::)() const` does not match `int`
regarding the lines `int vstart = my_var.GetStart;` and `int vend = my_var.GetEnd;`
what is the problem, and how do I fix it?