mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-11-29 01:03:45 +00:00
40 lines
922 B
Text
40 lines
922 B
Text
|
.. _sprout-array:
|
||
|
###############################################################################
|
||
|
Sprout.Array
|
||
|
###############################################################################
|
||
|
|
||
|
.. toctree::
|
||
|
:hidden:
|
||
|
|
||
|
array/index
|
||
|
|
||
|
Interface
|
||
|
========================================
|
||
|
.. sourcecode:: c++
|
||
|
|
||
|
template <typename T, std::size_t N>
|
||
|
class array;
|
||
|
|
||
|
template<typename T, std::size_t N>
|
||
|
inline void swap(sprout::array<T, N>& lhs, sprout::array<T, N>& rhs) SPROUT_NOEXCEPT_EXPR(SPROUT_NOEXCEPT_EXPR(lhs.swap(rhs)));
|
||
|
|
||
|
template<typename T, std::size_t N>
|
||
|
inline SPROUT_CONSTEXPR sprout::array<T, N> to_array(T const (& arr)[N]);
|
||
|
|
||
|
Classes
|
||
|
========================================
|
||
|
|
||
|
* :doc:`array <./array/index>`
|
||
|
|
||
|
Non-member functions
|
||
|
========================================
|
||
|
|
||
|
* :doc:`swap <./swap>`
|
||
|
* :doc:`to_array <./to_array>`
|
||
|
|
||
|
Header
|
||
|
========================================
|
||
|
|
||
|
``sprout/array.hpp``
|
||
|
|