WOW!!!

There are so many ways to solve the issue in C++. Thanks a lot.

Gokul.

On Tue, Mar 2, 2010 at 8:52 AM, Steven Watanabe <watanabesj@gmail.com> wrote:
AMDG


Gokulakannan Somasundaram wrote:
Thanks, i got it.
It was very helpful. Is there a similar solution to associate a member
function with a class?
 

You can store the member function in a type and use mpl::map.

template<class MemPtr, MemPtr P>
struct mem_fun {};



In Christ,
Steven Watanabe

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users