|
Boost Users : |
Subject: Re: [Boost-users] newbie !!
From: Juan RamÃrez (jramirez.uy_at_[hidden])
Date: 2016-09-27 10:48:04
Hi!
Thank you for pointing out that about next
I found this page
<http://www.boost.org/doc/libs/1_50_0/libs/mpl/doc/tutorial/changelog-history.html>
[1] which contains the list of changes for boost MPL library.
In particular, this page
<http://www.boost.org/doc/libs/1_50_0/libs/mpl/doc/tutorial/iterator-protocol.html>
[2] caught my attention because it specifies some changes in the iterator
protocol which may be related to your problem:
The library no longer guarantees or relies on the direct presence of advance
/ distance / next / prior / type members in iterator types; the following
table summarises the new requirements:
BeforeNow
i::type deref<i>::type
i::next next<i>::type
i::prior prior<i>::type
i::advance<n>::type advance<i,n>::type
i::distance<j>::type distance<i,j>::type
i::category i::category
The text
* "**The library no longer guarantees or relies on the direct
presence of..."*
is exactly the kind of change I meant with
* "**something changed in the library that **now will force you to
specify something that, until some boost version, was assumed*"
I hope this gives you some insight in how to proceed.
[1]
http://www.boost.org/doc/libs/1_50_0/libs/mpl/doc/tutorial/changelog-history.html
[2]
http://www.boost.org/doc/libs/1_50_0/libs/mpl/doc/tutorial/iterator-protocol.html
On Tue, Sep 27, 2016 at 11:27 AM, MAURICE Jean <
jean.maurice_at_[hidden]> wrote:
> Hi Juan,
>
>
>
> I do think that list19, next ⦠belongs to the boost mpl libraries. I even
> think that mpl is called fron another boost library like regex, system, â¦.
>
>
>
> TIA
>
> Jean
>
>
>
> *De :* Boost-users [mailto:boost-users-bounces_at_[hidden]] *De la
> part de* Juan RamÃrez
> *Envoyé :* mardi 27 septembre 2016 16:08
> *Ã :* boost-users_at_[hidden]
> *Objet :* Re: [Boost-users] newbie !!
>
>
>
> From
>
>
>
> list20.hpp(164): error C3203: 'list19' : unspecialized class template
> can't be used as a template argument for template parameter 'Next',
> expected a real type
>
>
>
> It looks like *Next* is not a class
>
>
>
> Can you provide more information about your implementation? How is list19
> being used?
>
>
>
> I am not familiar with boost mpl but it seems that something changed in
> the library that now will force you to specify something that, until some
> boost version, was assumed.
>
>
>
>
>
> On Tue, Sep 27, 2016 at 4:30 AM, MAURICE Jean <
> jean.maurice_at_[hidden]> wrote:
>
> Hi,
>
>
>
> This is my second âaccountâ to this mailing list. In fact I am a freelance
> who works for a company that works for another company and when I am
> somewhere I canât have access to the âelsewhereâ outlook.
>
>
>
> I am an old C++ (and FORTRAN and Visual Foxpro) programmer. But I am new
> to boost, windows (MFC) and Visual Studio 2010. My challenge is to
> âupgradeâ a huge app (250 k lines of code) both Windows and Linux from
> boost 1.3.x (and stingray and â¦..) to boost 1.50 and win 7 ⦠Boost 1.50 is
> the last version our customer can use because of its âprivateâ version of
> Debian.
>
>
>
> I am first dealing with windows. When I compile the solution, I get a lot
> of errors and I would like you give me the first steps to do.
>
>
>
> Here is an example about file â¦\boost\boost15\boost_1_50_0\
> boost/mpl/list/aux_/preprocessed/plain/list20.hpp
>
>
>
> list20.hpp(157): error C2143: syntax error : missing ',' before 'string'
>
> list20.hpp(163): error C2974: 'boost::mpl::list19' : invalid template
> argument for 'T18', type expected
>
> list20.hpp(144) : see declaration of 'boost::mpl::list19'
>
> list20.hpp(167) : see reference to class template instantiation
> 'boost::mpl::list20<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,
> T12,T13,T14,T15,T16,T17,T18,__formal>' being compiled
>
> list20.hpp(164): error C3203: 'list19' : unspecialized class template
> can't be used as a template argument for template parameter 'Next',
> expected a real type
>
> list20.hpp(164): error C2955: 'boost::mpl::list19' : use of class
> template requires template argument list
>
> list20.hpp(144) : see declaration of 'boost::mpl::list19'
>
> list20.hpp(165): error C2955: 'boost::mpl::l_item' : use of class
> template requires template argument list
>
>
>
> So if you can explain me what is wrong (I mean I am astonished (?) to find
> a syntax error and I think I must not modify the file so the error may come
> from elsewhere â¦)
>
>
>
> TIA
>
> Jean
>
>
>
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
>
>
>
>
> --
>
> Juan
>
> :wq
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
-- Juan :wq
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