]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/iterator/test/iter_archetype_default_ctor.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / iterator / test / iter_archetype_default_ctor.cpp
1 //
2 // Copyright Thomas Witt 2004.
3 // Distributed under the Boost Software License, Version 1.0. (See
4 // accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
6 //
7 #include <boost/iterator/iterator_archetypes.hpp>
8
9
10 int main()
11 {
12 typedef boost::iterator_archetype<
13 int
14 , boost::iterator_archetypes::readable_iterator_t
15 , boost::single_pass_traversal_tag
16 > iter;
17
18 // single_pass_traversal iterators are not required to be
19 // default constructible
20 iter it;
21 }