Search:

Type: Posts; User: clf

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,838

    late binding with template function

    hmm stuck with this problem:

    i'd like to have a template function in an interface, for e.g.:


    class interface {
    virtual void somefun(int)=0;

    template<typename T>
    /*virtual not...
  2. Replies
    2
    Views
    1,175

    Thanx A LOT i didn't think about the templated...

    Thanx A LOT
    i didn't think about the templated solution which is exactly what I needed.
    cla
  3. Replies
    2
    Views
    1,175

    passing pointer to member function that is const

    Hi,
    my problem is the following
    let's say we have a class MyClass:

    class MyClass {
    int val;
    bool check(int) const;
    };
    bool MyClass::check(int i) const {
    return i==val;
Results 1 to 3 of 3