8#ifndef INCLUDED_BDLAT_ARRAYFUNCTIONS
9#define INCLUDED_BDLAT_ARRAYFUNCTIONS
686#include <bdlscm_version.h>
692#include <bsl_cstddef.h>
693#include <bsl_cstdlib.h>
694#include <bsl_vector.h>
711 template <
class TYPE>
717 template <
class TYPE>
727 template <
class TYPE,
class MANIPULATOR>
729 MANIPULATOR& manipulator,
738 template <
class TYPE>
747 template <
class TYPE,
class ACCESSOR>
753 template <
class TYPE>
754 bsl::size_t
size(
const TYPE& array);
768 template <
class TYPE,
class ALLOC>
772 template <
class TYPE,
class ALLOC>
778 template <
class TYPE,
class ALLOC,
class MANIPULATOR>
780 MANIPULATOR& manipulator,
783 template <
class TYPE,
class ALLOC>
787 template <
class TYPE,
class ALLOC,
class ACCESSOR>
792 template <
class TYPE,
class ALLOC>
806template <
class TYPE,
class MANIPULATOR>
809 MANIPULATOR& manipulator,
812 return bdlat_arrayManipulateElement(array, manipulator, index);
823template <
class TYPE,
class ACCESSOR>
844template <
class TYPE,
class ALLOC,
class MANIPULATOR>
848 MANIPULATOR& manipulator,
851 TYPE& element = (*array)[index];
852 return manipulator(&element);
855template <
class TYPE,
class ALLOC>
864template <
class TYPE,
class ALLOC,
class ACCESSOR>
871 return accessor(array[index]);
874template <
class TYPE,
class ALLOC>
size_type size() const BSLS_KEYWORD_NOEXCEPT
Return the number of elements in this vector.
Definition bslstl_vector.h:2664
Definition bslstl_vector.h:1025
void resize(size_type newSize)
Definition bslstl_vector.h:3616
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition bdlat_arrayfunctions.h:702
int manipulateElement(TYPE *array, MANIPULATOR &manipulator, int index)
void resize(TYPE *array, int newSize)
void bdlat_arrayResize(bsl::vector< TYPE, ALLOC > *array, int newSize)
bsl::size_t size(const TYPE &array)
Return the number of elements in the specified array.
int accessElement(const TYPE &array, ACCESSOR &accessor, int index)
int bdlat_arrayAccessElement(const bsl::vector< TYPE, ALLOC > &array, ACCESSOR &accessor, int index)
bsl::size_t bdlat_arraySize(const bsl::vector< TYPE, ALLOC > &array)
int bdlat_arrayManipulateElement(bsl::vector< TYPE, ALLOC > *array, MANIPULATOR &manipulator, int index)
Definition bdlb_printmethods.h:283
TYPE Type
Definition bdlat_arrayfunctions.h:774
Definition bdlat_arrayfunctions.h:712
Definition bdlat_arrayfunctions.h:718
Definition bslmf_integralconstant.h:244