|
Boost Users : |
Subject: Re: [Boost-users] [fusion] push_back documentation issue
From: Joel de Guzman (djowel_at_[hidden])
Date: 2012-09-03 01:19:23
On 9/3/2012 12:28 PM, Agustín K-ballo Bergé wrote:
> The documentation for push_back specifies a return type of result_of::push_back<Sequence,
> T>::type where Sequence is not const-qualified:
>
> template<
> typename Sequence,
> typename T
> >
> typename result_of::push_back<Sequence, T>::type push_back(
> Sequence const& seq, T const& t);
>
> yet the implementation is defined to return result_of::push_back<Sequence const, T>::type,
> note the const-qualified Sequence:
>
> template <typename Sequence, typename T>
> inline
> typename
> lazy_enable_if<
> traits::is_sequence<Sequence>
> , result_of::push_back<Sequence const, T>
> >::type
> push_back(Sequence const& seq, T const& x)
>
> Is this a documentation bug?
>
> Agustín K-ballo Bergé.-
Yes it is. Thanks for spotting. I'll fix this.
Regards,
-- Joel de Guzman http://www.boostpro.com http://boost-spirit.com
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