Submitter-Id: net
Originator:Matt Kern
Organization: none
Confidential: no
Synopsis: invalid template instantiations
Severity: serious
Priority: medium
Category: c++
Class: rejects-legal
Release: 3.3 (Debian) (Debian testing/unstable)
Environment:
System
Package: libstdc++5-dev
Version: 1:3.2.1-0pre1
Severity: normal
The following fragment generates an error for me:
==
#include set
template class T
class AutoPtr
{
public:
T* getObjectPtr () { return 0; }
const T*
; it might work for you.
Matt
--
Matt Kern
http://www.undue.org/
3 matches
Mail list logo