• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[/
2    Copyright 2010 Neil Groves
3    Distributed under the Boost Software License, Version 1.0.
4    (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5/]
6[section:examples Examples]
7
8Some examples are given in the accompanying test files:
9
10* [@http://www.boost.org/libs/range/test/string.cpp string.cpp] shows how to implement a container version of `std::find()` that works with `char[]`,`wchar_t[]`,`char*`,`wchar_t*`.
11
12* [@http://www.boost.org/libs/range/test/algorithm_example.cpp algorithm_example.cpp] shows the replace example from the introduction.
13
14* [@http://www.boost.org/libs/range/test/iterator_range.cpp iterator_range.cpp]
15
16* [@http://www.boost.org/libs/range/test/sub_range.cpp sub_range.cpp]
17
18* [@http://www.boost.org/libs/range/test/iterator_pair.cpp iterator_pair.cpp]
19
20* [@http://www.boost.org/libs/range/test/reversible_range.cpp reversible_range.cpp]
21
22* [@http://www.boost.org/libs/range/test/std_container.cpp std_container.cpp]
23
24* [@http://www.boost.org/libs/range/test/array.cpp array.cpp]
25
26[endsect]
27
28
29