Boost logo

Boost Users :

Subject: Re: [Boost-users] [bind] [multi-index] Create type of pointer tooverloaded erase method
From: Peter Barker (newbarker_at_[hidden])
Date: 2008-09-11 03:47:23


> The technique works exactly as you have described: if f<T1,...,Tn> is a
> function template and you write
>
> P *p=&f;
>
> T1 and Tn are matched against the function type P (if possible). This is
> explicitly stated in section
> 14.8.2.2 of the standard (if you don't have it grab a draft copy at
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2723.pdf ).
>
> HTH,

It does a lot - thank you!

And by the way, multi-index container has made my code a lot smaller,
neater, more readable and more exception safe, so thanks for that too!


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