stlsoft/collections/array_view.hpp File Reference


Detailed Description

[C++ only] Definition of the stlsoft::array_view class template (Collections Library).

#include <stlsoft/stlsoft.h>
#include <stlsoft/util/std/iterator_helper.hpp>
#include <stlsoft/collections/util/collections.hpp>
#include <stlsoft/util/std_swap.hpp>
#include <stdexcept>

Go to the source code of this file.

Namespaces

namespace  stlsoft

Classes

class  array_view
 Acts as a view for built-in arrays, ensuring functions passed array proxies have safe access to both array pointer and length, to avoid polymorphic array problems. More...

Functions

template<typename T, size_t N>
array_view< T > make_array_view (T(&t)[N])
template<typename T>
array_view< T > make_array_view (T *begin, T *end)
template<typename T>
array_view< const T > make_array_view (T const *begin, T const *end)
template<typename T>
array_view< T > make_array_view (T *p, size_t n)


Generated on Thu Jun 10 08:58:01 2010 for STLSoft by  doxygen 1.5.6