$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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