Add support for shared_ptr<X[N>.

[SVN r81253]
This commit is contained in:
Peter Dimov committed 2012-11-08 18:07:49 +00:00
1 parent c57245d710
commit aa7562c3e5
6 files changed
+341 -22

No files matched your search

@@ -58,6 +58,11 @@ template< class Y, class T > struct sp_convertible< Y[], T[] >
enum _vt { value = sp_convertible< Y[1], T[1] >::value };
};
template< class Y, std::size_t N, class T > struct sp_convertible< Y[N], T[] >
{
enum _vt { value = sp_convertible< Y[1], T[1] >::value };
};
struct sp_empty
{
};