add link to GCC bug report
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@916 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
0289a9789f
commit
7f4960c4eb
1 changed files with 5 additions and 0 deletions
|
@ -1195,6 +1195,7 @@ struct Policy
|
|||
protected:
|
||||
Policy() {}
|
||||
Policy(const Policy&) {}
|
||||
int i;
|
||||
};
|
||||
|
||||
template<int I, class P>
|
||||
|
@ -1212,6 +1213,10 @@ void foo()
|
|||
{
|
||||
BugGcc<0, Policy> f1;
|
||||
BugGcc<1, Policy> f2(f1);
|
||||
|
||||
// Policy members are still not public,
|
||||
// this will not compile:
|
||||
//int i = f1.i;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue