Boost logo

Boost :

Subject: Re: [boost] [parameter] function types as named template parameters?
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2009-02-11 17:07:41


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 23 January 2009 14:59 pm, David Abrahams wrote:
> Well, several things are wrong here:
>
> 1. Our documentation should tell you to use value_type<...> instead of
> binding<...> for named template parameters
>
> 2. You should use value_type<...> instead of binding<...> for named
> template parameters ;-)
>
> 3. template_keyword's reference type should be value_type&.
>
> Unfortunately, #3 will break legacy uses of binding for people that
> followed our old instructions, so the real patch is attached:

I've used your patch locally and it seems to work, but I don't see it in the
svn trunk yet. I just wanted to make sure it hasn't been forgotten?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFJk0wt5vihyNWuA4URAkcpAKC5QRcNhYa9+HDnzErcV0/HYqymNQCgnaF1
BUz4LW+sZU4L55lOgA9fP+Y=
=e/0j
-----END PGP SIGNATURE-----


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk