Boost logo

Boost :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-01-15 16:19:35

Peter Dimov wrote:
> I tried to compile function_ptr_test.cpp with Intel C++ 5.0, and it didn't
> like this code: (simplified)
> template<class T> void f(T const & t);
> void g();
> f(g);
> Is icl 5 right in rejecting this? (a non-const reference works.)

I believe so. See the thread starting at
for some more explanation.

Jens Maurer

Boost list run by bdawes at, gregod at, cpdaniel at, john at