[fusion] push_back documentation issue
The documentation for push_back specifies a return type of
result_of::push_back
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
::type where Sequence is not const-qualified: template< typename Sequence, typename T > typename result_of::push_back
::type push_back( Sequence const& seq, T const& t); yet the implementation is defined to return result_of::push_back
::type, note the const-qualified Sequence: template
inline typename lazy_enable_if< traits::is_sequence<Sequence> , result_of::push_back >::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
participants (2)
-
Agustín K-ballo Bergé
-
Joel de Guzman