[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-bugs
Subject:    [Boost-bugs] [Boost C++ Libraries] #11249: Compilation fails after including reverse_fold.hpp
From:       "Boost C++ Libraries" <noreply () lists ! boost ! org>
Date:       2015-04-29 11:14:07
Message-ID: 080.2a17ab41471104c181b9af4ddb4809f8 () lists ! boost ! org
[Download RAW message or body]

#11249: Compilation fails after including reverse_fold.hpp
---------------------------------------+---------------------
 Reporter:  Christopher Hinz <hinz@…>  |      Owner:  djowel
     Type:  Bugs                       |     Status:  new
Milestone:  To Be Determined           |  Component:  fusion
  Version:  Boost 1.58.0               |   Severity:  Problem
 Keywords:                             |
---------------------------------------+---------------------
 After including the header file for reverse_fold, compilation fails with
 the error:

 {{{

 In file included from
 /usr/include/boost/fusion/algorithm/iteration/reverse_fold.hpp:35:
 /usr/include/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_fold.hpp:16:29:
 error: unknown template name 'result_of_with_decltype'
           : fusion::detail::result_of_with_decltype<
 }}}

 Unlike fold.hpp, reverse_fold.hpp never includes the corresponding header
 file for
 result_of_with_decltype.

 The error can be reproduced with the following code:

 {{{

 #include <boost/fusion/algorithm/iteration/reverse_fold.hpp>

 int main()
 {
 }
 }}}

 This bug also affects reverse_iter_fold.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11249>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
_______________________________________________
Boost-bugs mailing list
Boost-bugs@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-bugs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic