------- Comment #4 from paolo dot carlini at oracle dot com  2009-04-10 09:40 
-------
This is illegal in C++03, because std::map has 4 template parameters, no matter
the defaults. Changing class A like the below works. In c++0x, thanks to
typedef templates neater solutions will be possible.

template <typename Key, typename Data,
          template <typename Key, typename Data,
                    typename = std::less<Key>,
                    typename = std::allocator<std::pair<const Key, Data> > >
class Map>
...


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39711

Reply via email to