Boost logo

Boost Users :

Subject: Re: [Boost-users] Puzzled: compiler can't find a match for function call
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-09-11 10:53:26


AMDG

Zeljko Vrba wrote:
> template<typename K>
> inline typename id_t<K>::type&
> inc2(typename id_t<K>::type &id

The compiler cannot deduce K.
If you call inc2<KEY>(m) it should work.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net