Boost logo

Boost Users :

From: Kris Braun (kbraun_at_[hidden])
Date: 2007-02-27 17:28:11


Hi there,

I'm using Boost 1.33.1. The following code compiles with MSVC7.1, but
not with MSVC8:

class Path {
  private:
    typedef std::vector< Path > PathList;

  public:
    class iterator : public boost::iterator_adaptor< iterator,
PathList::const_iterator > {
   ...
}

MSVC8 gives this error:
boost/type_traits/is_pod.hpp(34) : error C2139: 'fledge::Path' : an
undefined class is not allowed as an argument to compiler intrinsic type
trait '__is_pod'

Any recommendations on a solution?

Thanks,
Kris

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.


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