mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-11-16 15:29:26 +01:00
Compare commits
1 Commits
boost-1.45
...
boost-1.44
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fc4b2f59bb |
@@ -74,13 +74,7 @@ template<class T> struct sp_typeid_
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(__SUNPRO_CC)
|
|
||||||
// see #4199, the Sun Studio compiler gets confused about static initialization
|
|
||||||
// constructor arguments. But an assignment works just fine.
|
|
||||||
template<class T> sp_typeinfo sp_typeid_< T >::ti_ = sp_typeid_< T >::name();
|
template<class T> sp_typeinfo sp_typeid_< T >::ti_ = sp_typeid_< T >::name();
|
||||||
#else
|
|
||||||
template<class T> sp_typeinfo sp_typeid_< T >::ti_(sp_typeid_< T >::name());
|
|
||||||
#endif
|
|
||||||
|
|
||||||
template<class T> struct sp_typeid_< T & >: sp_typeid_< T >
|
template<class T> struct sp_typeid_< T & >: sp_typeid_< T >
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user