|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Conversions between std::vector and Aleph-w containers shared by ah-convert.H and ah-stl-utils.H. More...
Go to the source code of this file.
Namespaces | |
| namespace | Aleph |
| Main namespace for Aleph-w library functions. | |
Functions | |
| template<class C > | |
| std::vector< typename C::Item_Type > | Aleph::to_vector (const C &c) |
| Convert a container to a std::vector. | |
| template<class T > | |
| DynList< T > | Aleph::vector_to_DynList (const std::vector< T > &v) |
| Convert a std::vector to a DynList. | |
| template<class T > | |
| DynArray< T > | Aleph::vector_to_DynArray (const std::vector< T > &v) |
| Convert a std::vector to a DynArray. | |
Conversions between std::vector and Aleph-w containers shared by ah-convert.H and ah-stl-utils.H.
Both headers offer to_vector(), vector_to_DynList() and vector_to_DynArray(). They are defined here once, so that the two headers can be included in the same translation unit, in either order. Include ah-convert.H or ah-stl-utils.H rather than this header.
Definition in file ah-convert-common.H.