Re: [Boost-bugs] [Boost C++ Libraries] #5025: BOOST_TYPEOF VS2008 Internal Compiler Error

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5025: BOOST_TYPEOF VS2008 Internal Compiler Error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-01-02 00:42:40


#5025: BOOST_TYPEOF VS2008 Internal Compiler Error
-------------------------------------------------------+--------------------
  Reporter: Mike Spertus <mike_spertus@…> | Owner: burbelgruff
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: typeof
   Version: Boost 1.45.0 | Severity: Problem
Resolution: wontfix | Keywords:
-------------------------------------------------------+--------------------
Changes (by steven_watanabe):

  * status: new => closed
  * resolution: => wontfix

Comment:

 Thanks. I can confirm the problem with both native typeof
 and typeof emulation. BOOST_TYPEOF_NESTED_TYPEDEF doesn't
 help either. I've reduced it to

 {{{
 template<typename T>
 int typeof_register_type(const T&);

 struct S {
     virtual void f() = 0;
     enum {
         _typeof_register_value=sizeof(::typeof_register_type(&S::f))
     };
 };
 }}}

 I'm afraid that there is no way for Boost.Typeof to
 avoid this problematic construct.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5025#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC