Re: [Boost-bugs] [Boost C++ Libraries] #4141: typeof/msvc/typeof_impl specializes base class template in derived class

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4141: typeof/msvc/typeof_impl specializes base class template in derived class
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-04-22 18:55:00


#4141: typeof/msvc/typeof_impl specializes base class template in derived class
--------------------------+-------------------------------------------------
 Reporter: jhs@… | Owner: burbelgruff
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: typeof
  Version: Boost 1.42.0 | Severity: Problem
 Keywords: |
--------------------------+-------------------------------------------------

Comment(by steven_watanabe):

 I believe that it is marked as a bugfeature because it specializes a base
 class template. The tricks needed to make MSVC 8 and up accept a
 specialization of a base class template in a derived class are fairly
 arcane. It only worked when the base class and the derived class were
 both specializations of the same template. Also, declaring another
 id2type_impl in the derived class appears to be unnecessary. I commented
 it out, and the tests still pass.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4141#comment:1>
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:02 UTC