Boost logo

Boost Announcement :

From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2006-04-01 10:06:37

The review of Alexander Nasonov's Promotion Traits start today. Since it's a small contribution it will be fast-track reviewed and the end of the review period is scheduled for April 6.

Download URL

About the submission

The Promotion Traits extend Boost.TypeTraits with templates that compute the type after promotion has been applied.


   // given
   template<typename T> struct some_algorithm;
   template<> struct some_algorithm<int> { [...] };
   // [...] more specializations

   // ,

   [...] some_algorithm< typename integral_promotion<T>::type > [...]
   // makes some_algorithm work for any type T that promotes to an integer
   // (that is enums and smaller integral types) without the need for
   // additional specialization

Review questions

Please always explicitly state in your review, whether you think the library should be accepted into Boost.

You might want to comment on the following questions:

- What is your evaluation of the design?
- What is your evaluation of the implementation?
- What is your evaluation of the documentation?
- What is your evaluation of the potential usefulness of the library?
- Did you try to use the library? With what compiler?
 Did you have any problems?
- How much effort did you put into your evaluation? A glance? A
 quick reading? In-depth study?
- Are you knowledgeable about the problem domain?


(Review Manager)

Boost-announce list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at