mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-07-30 12:47:28 +02:00
Fix explicit instantiation regression
This commit is contained in:
@ -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