Boost logo

Boost :

From: Andy Little (andy_at_[hidden])
Date: 2005-10-21 19:26:26


 using VC7.1... In the following the output is 0, whereas it should be 1 .
However commenting out either of the first 2 headers makes result correct.

Can anyone repeat this in VC7.1?

#include <boost/mpl/modulus.hpp>
#include <boost/mpl/apply.hpp>

#include <boost/mpl/has_xxx.hpp>

namespace my{

    template<typename T>
    struct X{
        typedef int tag;
int main()
  std::cout << my::has_tag<my::X<int> >::value << '\n';

Andy Little

Boost list run by bdawes at, gregod at, cpdaniel at, john at