[review] promotion traits

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[review] promotion traits

Tobias Schwinger
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-users mailing list
[hidden email]
http://lists.boost.org/mailman/listinfo.cgi/boost-users