more using+namespaces cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6507 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e2f5c7674c
commit
bb900b3e10
1 changed files with 7 additions and 6 deletions
|
|
@ -19,6 +19,11 @@
|
|||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
int value2() const
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -43,12 +48,8 @@ namespace hello
|
|||
{
|
||||
struct hi1 : private hello::Hi< hello::Hello, hi0 >
|
||||
{
|
||||
// This works
|
||||
// using hello::Hi< hello::Hello, hi::hi0 >::value1;
|
||||
|
||||
// This doesn't
|
||||
using hello::Hi< hello::Hello, hi0 >::value1;
|
||||
|
||||
using hello::Hi< hello::Hello, hi::hi0 >::value1;
|
||||
using hello::Hi< hello::Hello, hi0 >::value2;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue