3663 – G++ doesn't check access control during template instanation (original) (raw)

Description Mark Mitchell 2001-07-12 10:36:00 UTC

The attached program sould generate an error during template instantiation since the `S::T' is not accessible.

Release: 3.0

Comment 1 Nathan Sidwell 2001-12-15 10:10:47 UTC

State-Changed-From-To: open->analyzed State-Changed-Why: yup, doesn't do that either

Comment 2 Kriang Lerdsuwanakij 2002-11-08 02:05:58 UTC

Responsible-Changed-From-To: unassigned->lerdsuwa Responsible-Changed-Why: Will look at it.

Comment 4 Kriang Lerdsuwanakij 2002-12-19 07:26:44 UTC

State-Changed-From-To: analyzed->closed State-Changed-Why: Fixed in 3.3 and trunk.