Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-12-09 07:58:29


Hi -

The following construct produces a ream of errors. It's the extern "C" part
that does it. Does anyone have any ideas about how we could fix it in
type_traits?

#include <boost/type_traits/object_traits.hpp>
struct simple
{
    char* s;
};

extern "C" void f()
{
    bool x = boost::is_pointer<simple>::value;
}

TIA,
Dave

===================================================
  David Abrahams, C++ library designer for hire
 resume: http://users.rcn.com/abrahams/resume.html

        C++ Booster (http://www.boost.org)
          email: david.abrahams_at_[hidden]
===================================================


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