Update documentation and remove unused code.

[SVN r81703]
This commit is contained in:
Glen Fernandes
2012-12-04 11:21:24 +00:00
parent 188602581d
commit 2d3cc0db7d
2 changed files with 2 additions and 10 deletions

View File

@ -26,14 +26,6 @@ namespace boost {
typedef typename array_base<T>::type type;
};
template<typename T>
struct array_size;
template<typename T, std::size_t N>
struct array_size<T[N]> {
enum {
size = N
};
};
template<typename T>
struct array_total {
enum {
size = 1

View File

@ -218,8 +218,8 @@ boost::shared_ptr&lt;int[]&gt; a4 = boost::make_shared&lt;int[]&gt;({1, 2, 3});
boost::shared_ptr&lt;int[3]&gt; a5 = boost::make_shared&lt;int[3]&gt;({1, 2, 3});
boost::shared_ptr&lt;int[][3]&gt; a6 = boost::make_shared&lt;int[][3]&gt;(size, {1, 2, 3});
boost::shared_ptr&lt;int[5][3]&gt; a7 = boost::make_shared&lt;int[5][3]&gt;({1, 2, 3});
boost::shared_ptr&lt;point[]&gt; a8 = boost::make_shared&lt;point[]&gt;(4, {x, y});
boost::shared_ptr&lt;point[4]&gt; a9 = boost::make_shared&lt;point[4]&gt;({x, y});
boost::shared_ptr&lt;point[]&gt; a8 = boost::make_shared&lt;point[]&gt;(size, {x, y});
boost::shared_ptr&lt;point[5]&gt; a9 = boost::make_shared&lt;point[5]&gt;({x, y});
boost::shared_ptr&lt;int[]&gt; a10 = boost::make_shared_noinit&lt;int[]&gt;(size);
boost::shared_ptr&lt;int[5]&gt; a11 = boost::make_shared_noinit&lt;int[5]&gt;();</pre>
</blockquote>