Boost logo

Boost Users :

Subject: [Boost-users] Meaning of or_<> with empty arguments
From: Reetesh Mukul (reetesh.mukul_at_[hidden])
Date: 2008-12-13 12:48:36


Hi,

This code compiles:-

#include <boost/mpl/or.hpp>

using boost::mpl;

int main()
{
  typedef boost::mpl::or_<> A;
  A a;
}

What is the meaning an empty or_<> ? On my gcc compiler I can see that there is
no type/value inside A.

With Regards,
Reetesh Mukul


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net