[type-traits] much dead code in integral_constant.hpp

Howdy, A large amount of code in boost/type_traits/integral_constant.hpp appears to be #if'ed out. Can that code be safely removed from the file or is it a work in progress? Thanks, ron

Ronald Garcia <garcia@cs.indiana.edu> writes:
Howdy,
A large amount of code in boost/type_traits/integral_constant.hpp appears to be #if'ed out. Can that code be safely removed from the file or is it a work in progress?
Either way, it can and should be safely removed. There's no excuse for leaving that sort of clutter around with modern source control. We have a perfect record of the file's history, and development-in-progress should proceed on a branch. -- Dave Abrahams Boost Consulting www.boost-consulting.com

Ronald Garcia wrote:
Howdy,
A large amount of code in boost/type_traits/integral_constant.hpp appears to be #if'ed out. Can that code be safely removed from the file or is it a work in progress?
Removed. As far as I can tell no compiler needs those workarounds, but I couldn't find an mpl concept-check to verify that completely? Thanks for spotting that one, John.
participants (3)
-
David Abrahams
-
John Maddock
-
Ronald Garcia