$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2002-04-25 08:23:05
Arun Sivaramakrishnan wrote:
>
> Can the address of a non-static member functions be passed as
> template args?.
Yes, as a template value argument:
template<class T, class R, R (T::*)()>
class C { ... };
struct A { void f(); };
C<A, void, &A::f> c;
> (i dont have access to the standard)
The ISO C++ standard is available for electronic
sale at http://www.incits.org/.
Jens Maurer