|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include <array_ref.h>
Public Member Functions | |
| constexpr | array_ref () |
| constexpr | array_ref (T *data, size_t length) |
| constexpr | array_ref (T *begin, T *end) |
| constexpr | array_ref (const T &item) |
| template<typename A > | |
| array_ref (const std::vector< T, A > &vec) | |
| template<size_t N> | |
| constexpr | array_ref (const std::array< T, N > &arr) |
| constexpr | array_ref (const std::initializer_list< T > &list) |
| constexpr const T * | begin () const |
| constexpr const T * | end () const |
| constexpr bool | empty () const |
| constexpr const T * | data () const |
| constexpr size_t | size () const |
| constexpr const T & | front () const |
| constexpr const T & | back () const |
| constexpr bool | equals (const array_ref< T > &rhs) const |
| constexpr const T & | operator[] (size_t index) const |
| template<typename U > | |
| std::enable_if< std::is_same< U, T >::value, array_ref< T > >::type & | operator= (U &&Temporary)=delete |
| template<typename U > | |
| std::enable_if< std::is_same< U, T >::value, array_ref< T > >::type & | operator= (std::initializer_list< U >)=delete |
| std::vector< T > | vec () const |
Private Attributes | |
| T * | data_ |
| size_t | length_ |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineexplicitconstexpr |
|
inline |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
delete |
|
delete |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
|
private |
|
private |