forked from boostorg/smart_ptr
Fix explicit instantiation regression
This commit is contained in:
1 parent
aedcf3ccda
commit
f65c57d9d2
4 files changed
+31
-2
No files matched your search
@@ -12,8 +12,12 @@ struct X
|
||||
{
|
||||
};
|
||||
|
||||
template<class T> void f( T & /*t*/ )
|
||||
{
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
boost::shared_ptr<X> px( new X );
|
||||
px[ 0 ];
|
||||
f( px[ 0 ] );
|
||||
}
|
||||
Reference in new issue
Block a user