Is there a significant impact of the new standard's features on the boost library implementation in C++11?

StackOverflow https://stackoverflow.com/questions/16098898

문제

Is there a significant impact of the new standard's features on the boost library implementation in C++11?

Especially interested in boost::variant (BOOST_VARIANT_LIMIT_TYPES) and boost::spirit parts of the library in light of the presence of variadic templates.

Is there a good article about this?

도움이 되었습니까?

해결책

(I was writing my third comment, which is going to address the topic of Spirit specifically. I decided to mesh my comments into an answer anyways)

Boost Spirit is going to be using C++11 features exclusively (i.e. drop C++03 support) so that it can take full advantage of the improved TMP abilities and reduced compile times - compilation times are a big drawback of using Spirit V2.

Spirit X3 (the experimental V3 branch) is already under active development:

And in yet other news: Spirit V3 will be C++11 only and move-enabled:

Feb 11, 2013; 12:02pm, Joel de Guzman wrote:

No, X3 will be C++11 only. Pure. No workarounds.

Keep in mind though that X3 is, by its nature, X-perimental. A lot of things can happen from X3 to final. I am not closing the door on C++03 support, although I am heavily inclined to move on without 03. V2 will not be going away anytime soon anyway.

Also, expression templates will be auto-safe, no more need for the BOOST_SPIRIT_AUTO macro whenever you want to keep a 'raw' parser expression bound to a local variable.>


I found the link to the Spirit X3 repositories:

Note the status of the development at http://boost-spirit.com/home/2013/02/23/spirit-x3-on-github/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top