Boost logo

Boost :

From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2006-04-01 07:50:42


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
============

     http://cpp-experiment.sourceforge.net/promote-20050917.tar.gz

About the submission
====================

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

Example:

    // 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?

Regards,
Tobias

(Review Manager)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk