Re: problems with template ( newbie )



> vc6 doesn't follow the international standard for the C++ language.
>
> To make the code follow the standard, change all occurrences of "list"
> below to "std::list"
>

That didn't work.

i get the error
Identifier expected

if i double click it taes me into the file called "functionnal"

template <class S, class T, class A>
class mem_fun1_t
: public binary_function<T*, A, S>
{
public:
explicit mem_fun1_t(S (T::*mf)(A)) : mf_(mf) {}
S operator()(T* p, A x) const {return (p->*mf_)(x);}
private:
S (T::*mf_)(A);
};


pat.


.



Relevant Pages

  • Re: Reading a file and then writing something back
    ... (fsetpos, fseek, rewind, fflush). ... and testfile's third and final line is "pat". ... I don't have a copy of the actual C standard, ...
    (comp.lang.python)
  • Re: New-Years challenge for All-seeing-I
    ... That is the standard "Pat" answer from the evolutionist. ... make wildly inappropriate conclusions. ... demonstrate on its face, in plain print, that you do not understand. ...
    (talk.origins)
  • New-Years challenge for All-seeing-I
    ... That is the standard "Pat" answer from the evolutionist. ... BOO HOO-sniff sniff ... demonstrate on its face, in plain print, that you do not understand. ...
    (talk.origins)
  • Re: functions of bounded variation in Banach spaces
    ... try Barbu's book on nonlinear semigroups. ... It's a pretty standard result (but I don't have either of those books ... --Ron Bruck ... Prev by Date: ...
    (sci.math.num-analysis)
  • Re: Auto Entry of Date
    ... > box as the input field or a standard text field, pull down, etc. ... > I know there is a formula in excel that will allow you to do this but ... Prev by Date: ...
    (microsoft.public.sharepoint.teamservices)