Re: problems with template ( newbie )
- From: "patate" <misterbanned@xxxxxxxxxxx>
- Date: Wed, 14 Sep 2005 20:29:57 +0200
> 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.
.
- References:
- problems with template ( newbie )
- From: patate
- Re: problems with template ( newbie )
- From: David Phillip Oster
- problems with template ( newbie )
- Prev by Date: How to locate mass storage device?
- Next by Date: CodeWarrior 10 Update
- Previous by thread: Re: problems with template ( newbie )
- Next by thread: How to locate mass storage device?
- Index(es):
Relevant Pages
|
Loading