Re: [Boost-bugs] [Boost C++ Libraries] #6961: problem with list_c et.all

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6961: problem with list_c et.all
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-06-03 20:48:07


#6961: problem with list_c et.all
-------------------------------+--------------------------------------------
  Reporter: ramey | Owner: agurtovoy
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: mpl
   Version: Boost 1.49.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by ramey):

 FYI - the following works as expected from the docs.

 {{{
 typedef vector_c<int,1,2,3,5,8,13,21> v;

 print<
     v::type
> x7;

 print<
     push_front<v ,integral_c<int,1> >::type
> x6;
 }}}

 showing:

 {{{
 test_multi_precision.cpp
 1>c:\boostrelease\boost\mpl\print.hpp(51) : warning C4308: negative
 integral constant converted to unsigned type
 1> c:\projects\boost
 projects\mpl\tests\test_multi_precision.cpp(18) : see reference to class
 template instantiation 'boost::mpl::print<T>' being compiled
 1> with
 1> [
 1> T=boost::mpl::vector7_c<int,1,2,3,5,8,13,21>
 1> ]
 1>c:\boostrelease\boost\mpl\print.hpp(51) : warning C4308: negative
 integral constant converted to unsigned type
 1> c:\projects\boost
 projects\mpl\tests\test_multi_precision.cpp(22) : see reference to class
 template instantiation 'boost::mpl::print<T>' being compiled
 1> with
 1> [
 1>
 T=boost::mpl::vector8<boost::mpl::integral_c<int,1>,boost::mpl::integral_c<int,1>,boost::mpl::integral_c<int,2>,boost::mpl::integral_c<int,3>,boost::mpl::integral_c<int,5>,boost::mpl::integral_c<int,8>,boost::mpl::integral_c<int,13>,boost::mpl::integral_c<int,21>>
 1> ]
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6961#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC