Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-12-15 12:35:16


Beman Dawes <bdawes_at_[hidden]> writes:

> There was a major regression in this mornings tests. Looks like the
> bool_trait_def.hpp change is the culprit.
>
> If someone (John?) fixes it, I'll rerun again later.

This can be fixed by simply removing what John added.
The correct thing to have added would have been:

  #include <boost/mpl/integral_c.hpp>

  template <class T, T val>
  struct integral_constant
    : mpl::integral_c<T,val>
  {};

This would ensure compatibility with existing code that uses
integral_c for tag dispatching.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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