|
Boost Users : |
From: s9801758 (J.Suter_at_[hidden])
Date: 2002-06-03 18:01:07
Hello,
I'm using MSVC6.0 with service-pack 6.0 installed. But I'm getting
some
weird problems.
Consider the following simple program:
----------------------------------------------------
struct q
{
int x;
};
int main()
{
int t;
t = boost::is_POD< int >::value; // Ok, t = true;
t = boost::is_POD< void >::value; // Ok?, t = true
(is
'void' considered a POD?);
t = boost::is_POD< q >::value; // Error, t =
false
}
----------------------------------------------------
Unless my definition of a POD type is incorrect, I think that q is
considered POD, right?
Am I doing something wrong here, or is the combination boost and msvc
fatal
once again?
Just to be complete, I have the following defines in my main header:
#define BOOST_NO_FUNCTION_PTR_TEMPLATE_PARAMETERS
#define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Thanks in advance,
Jaap Suter
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