├── .appveyor.yml ├── .clang-format ├── .clang-tidy ├── .gitignore ├── .nojekyll ├── .travis.yml ├── README.md ├── doc ├── Doxyfile ├── Jamfile ├── Makefile ├── _static │ ├── css │ │ └── static_views.css │ ├── pictures │ │ └── memory-time.png │ ├── pygments.backup.css │ └── theme │ │ └── boost │ │ ├── layout.html │ │ ├── static │ │ ├── alert.png │ │ ├── blank.png │ │ ├── boost-proposed.png │ │ ├── boost.png │ │ ├── boostbook.backup.css │ │ ├── boostbook.css │ │ ├── callouts │ │ │ ├── 1.png │ │ │ ├── 1.svg │ │ │ ├── 10.png │ │ │ ├── 10.svg │ │ │ ├── 11.png │ │ │ ├── 11.svg │ │ │ ├── 12.png │ │ │ ├── 12.svg │ │ │ ├── 13.png │ │ │ ├── 13.svg │ │ │ ├── 14.png │ │ │ ├── 14.svg │ │ │ ├── 15.png │ │ │ ├── 15.svg │ │ │ ├── 16.svg │ │ │ ├── 17.svg │ │ │ ├── 18.svg │ │ │ ├── 19.svg │ │ │ ├── 2.png │ │ │ ├── 2.svg │ │ │ ├── 20.svg │ │ │ ├── 21.svg │ │ │ ├── 22.svg │ │ │ ├── 23.svg │ │ │ ├── 24.svg │ │ │ ├── 25.svg │ │ │ ├── 26.svg │ │ │ ├── 27.svg │ │ │ ├── 28.svg │ │ │ ├── 29.svg │ │ │ ├── 3.png │ │ │ ├── 3.svg │ │ │ ├── 30.svg │ │ │ ├── 4.png │ │ │ ├── 4.svg │ │ │ ├── 5.png │ │ │ ├── 5.svg │ │ │ ├── 6.png │ │ │ ├── 6.svg │ │ │ ├── 7.png │ │ │ ├── 7.svg │ │ │ ├── 8.png │ │ │ ├── 8.svg │ │ │ ├── 9.png │ │ │ └── 9.svg │ │ ├── caution.png │ │ ├── caution.svg │ │ ├── draft.png │ │ ├── home.png │ │ ├── home.svg │ │ ├── important.png │ │ ├── important.svg │ │ ├── next.png │ │ ├── next.svg │ │ ├── next_disabled.png │ │ ├── note.png │ │ ├── note.svg │ │ ├── prev.png │ │ ├── prev.svg │ │ ├── prev_disabled.png │ │ ├── smiley.png │ │ ├── tip.png │ │ ├── tip.svg │ │ ├── toc-blank.png │ │ ├── toc-minus.png │ │ ├── toc-plus.png │ │ ├── up.png │ │ ├── up.svg │ │ ├── up_disabled.png │ │ ├── warning.png │ │ └── warning.svg │ │ └── theme.conf ├── _templates │ └── .layout.html ├── conf.py ├── doctrees │ ├── environment.pickle │ ├── examples.doctree │ ├── examples │ │ ├── support_span.doctree │ │ ├── using_drop_view.doctree │ │ ├── using_raw_view.doctree │ │ └── using_take_view.doctree │ ├── index.doctree │ ├── reference.doctree │ ├── reference │ │ ├── invoke.doctree │ │ ├── sequence.doctree │ │ ├── static-map.doctree │ │ ├── view.doctree │ │ ├── views.doctree │ │ └── wrapper.doctree │ ├── tests.doctree │ └── tutorial.doctree ├── examples.rst ├── examples │ ├── support_span.rst │ ├── using_drop_view.rst │ ├── using_raw_view.rst │ └── using_take_view.rst ├── html │ ├── .buildinfo │ ├── .doctrees │ │ ├── environment.pickle │ │ ├── examples.doctree │ │ ├── examples │ │ │ ├── support_span.doctree │ │ │ ├── using_drop_view.doctree │ │ │ ├── using_raw_view.doctree │ │ │ └── using_take_view.doctree │ │ ├── index.doctree │ │ ├── reference.doctree │ │ ├── reference │ │ │ ├── chunk.doctree │ │ │ ├── configuration.doctree │ │ │ ├── errors.doctree │ │ │ ├── invoke.doctree │ │ │ ├── sequence.doctree │ │ │ ├── static-map.doctree │ │ │ ├── transform.doctree │ │ │ ├── view.doctree │ │ │ ├── views.doctree │ │ │ └── wrapper.doctree │ │ ├── tests.doctree │ │ └── tutorial.doctree │ ├── .nojekyll │ ├── _images │ │ └── memory-time.png │ ├── _sources │ │ ├── examples.rst.txt │ │ ├── examples │ │ │ ├── support_span.rst.txt │ │ │ ├── using_drop_view.rst.txt │ │ │ ├── using_raw_view.rst.txt │ │ │ └── using_take_view.rst.txt │ │ ├── index.rst.txt │ │ ├── reference.rst.txt │ │ ├── reference │ │ │ ├── chunk.rst.txt │ │ │ ├── configuration.rst.txt │ │ │ ├── errors.rst.txt │ │ │ ├── invoke.rst.txt │ │ │ ├── sequence.rst.txt │ │ │ ├── static-map.rst.txt │ │ │ ├── transform.rst.txt │ │ │ ├── view.rst.txt │ │ │ ├── views.rst.txt │ │ │ └── wrapper.rst.txt │ │ ├── tests.rst.txt │ │ └── tutorial.rst.txt │ ├── _static │ │ ├── ajax-loader.gif │ │ ├── alert.png │ │ ├── basic.css │ │ ├── blank.png │ │ ├── boost-proposed.png │ │ ├── boost.png │ │ ├── boostbook.backup.css │ │ ├── boostbook.css │ │ ├── callouts │ │ │ ├── 1.png │ │ │ ├── 1.svg │ │ │ ├── 10.png │ │ │ ├── 10.svg │ │ │ ├── 11.png │ │ │ ├── 11.svg │ │ │ ├── 12.png │ │ │ ├── 12.svg │ │ │ ├── 13.png │ │ │ ├── 13.svg │ │ │ ├── 14.png │ │ │ ├── 14.svg │ │ │ ├── 15.png │ │ │ ├── 15.svg │ │ │ ├── 16.svg │ │ │ ├── 17.svg │ │ │ ├── 18.svg │ │ │ ├── 19.svg │ │ │ ├── 2.png │ │ │ ├── 2.svg │ │ │ ├── 20.svg │ │ │ ├── 21.svg │ │ │ ├── 22.svg │ │ │ ├── 23.svg │ │ │ ├── 24.svg │ │ │ ├── 25.svg │ │ │ ├── 26.svg │ │ │ ├── 27.svg │ │ │ ├── 28.svg │ │ │ ├── 29.svg │ │ │ ├── 3.png │ │ │ ├── 3.svg │ │ │ ├── 30.svg │ │ │ ├── 4.png │ │ │ ├── 4.svg │ │ │ ├── 5.png │ │ │ ├── 5.svg │ │ │ ├── 6.png │ │ │ ├── 6.svg │ │ │ ├── 7.png │ │ │ ├── 7.svg │ │ │ ├── 8.png │ │ │ ├── 8.svg │ │ │ ├── 9.png │ │ │ └── 9.svg │ │ ├── caution.png │ │ ├── caution.svg │ │ ├── comment-bright.png │ │ ├── comment-close.png │ │ ├── comment.png │ │ ├── css │ │ │ └── static_views.css │ │ ├── doctools.js │ │ ├── documentation_options.js │ │ ├── down-pressed.png │ │ ├── down.png │ │ ├── draft.png │ │ ├── file.png │ │ ├── home.png │ │ ├── home.svg │ │ ├── important.png │ │ ├── important.svg │ │ ├── jquery-3.1.0.js │ │ ├── jquery-3.2.1.js │ │ ├── jquery.js │ │ ├── minus.png │ │ ├── next.png │ │ ├── next.svg │ │ ├── next_disabled.png │ │ ├── note.png │ │ ├── note.svg │ │ ├── pictures │ │ │ └── memory-time.png │ │ ├── plus.png │ │ ├── prev.png │ │ ├── prev.svg │ │ ├── prev_disabled.png │ │ ├── pygments.backup.css │ │ ├── pygments.css │ │ ├── searchtools.js │ │ ├── smiley.png │ │ ├── theme │ │ │ └── boost │ │ │ │ ├── layout.html │ │ │ │ ├── static │ │ │ │ ├── alert.png │ │ │ │ ├── blank.png │ │ │ │ ├── boost-proposed.png │ │ │ │ ├── boost.png │ │ │ │ ├── boostbook.backup.css │ │ │ │ ├── boostbook.css │ │ │ │ ├── callouts │ │ │ │ │ ├── 1.png │ │ │ │ │ ├── 1.svg │ │ │ │ │ ├── 10.png │ │ │ │ │ ├── 10.svg │ │ │ │ │ ├── 11.png │ │ │ │ │ ├── 11.svg │ │ │ │ │ ├── 12.png │ │ │ │ │ ├── 12.svg │ │ │ │ │ ├── 13.png │ │ │ │ │ ├── 13.svg │ │ │ │ │ ├── 14.png │ │ │ │ │ ├── 14.svg │ │ │ │ │ ├── 15.png │ │ │ │ │ ├── 15.svg │ │ │ │ │ ├── 16.svg │ │ │ │ │ ├── 17.svg │ │ │ │ │ ├── 18.svg │ │ │ │ │ ├── 19.svg │ │ │ │ │ ├── 2.png │ │ │ │ │ ├── 2.svg │ │ │ │ │ ├── 20.svg │ │ │ │ │ ├── 21.svg │ │ │ │ │ ├── 22.svg │ │ │ │ │ ├── 23.svg │ │ │ │ │ ├── 24.svg │ │ │ │ │ ├── 25.svg │ │ │ │ │ ├── 26.svg │ │ │ │ │ ├── 27.svg │ │ │ │ │ ├── 28.svg │ │ │ │ │ ├── 29.svg │ │ │ │ │ ├── 3.png │ │ │ │ │ ├── 3.svg │ │ │ │ │ ├── 30.svg │ │ │ │ │ ├── 4.png │ │ │ │ │ ├── 4.svg │ │ │ │ │ ├── 5.png │ │ │ │ │ ├── 5.svg │ │ │ │ │ ├── 6.png │ │ │ │ │ ├── 6.svg │ │ │ │ │ ├── 7.png │ │ │ │ │ ├── 7.svg │ │ │ │ │ ├── 8.png │ │ │ │ │ ├── 8.svg │ │ │ │ │ ├── 9.png │ │ │ │ │ └── 9.svg │ │ │ │ ├── caution.png │ │ │ │ ├── caution.svg │ │ │ │ ├── draft.png │ │ │ │ ├── home.png │ │ │ │ ├── home.svg │ │ │ │ ├── important.png │ │ │ │ ├── important.svg │ │ │ │ ├── next.png │ │ │ │ ├── next.svg │ │ │ │ ├── next_disabled.png │ │ │ │ ├── note.png │ │ │ │ ├── note.svg │ │ │ │ ├── prev.png │ │ │ │ ├── prev.svg │ │ │ │ ├── prev_disabled.png │ │ │ │ ├── smiley.png │ │ │ │ ├── tip.png │ │ │ │ ├── tip.svg │ │ │ │ ├── toc-blank.png │ │ │ │ ├── toc-minus.png │ │ │ │ ├── toc-plus.png │ │ │ │ ├── up.png │ │ │ │ ├── up.svg │ │ │ │ ├── up_disabled.png │ │ │ │ ├── warning.png │ │ │ │ └── warning.svg │ │ │ │ └── theme.conf │ │ ├── tip.png │ │ ├── tip.svg │ │ ├── toc-blank.png │ │ ├── toc-minus.png │ │ ├── toc-plus.png │ │ ├── underscore-1.3.1.js │ │ ├── underscore.js │ │ ├── up-pressed.png │ │ ├── up.png │ │ ├── up.svg │ │ ├── up_disabled.png │ │ ├── warning.png │ │ ├── warning.svg │ │ └── websupport.js │ ├── examples.html │ ├── examples │ │ ├── support_span.html │ │ ├── using_drop_view.html │ │ ├── using_raw_view.html │ │ └── using_take_view.html │ ├── genindex.html │ ├── index.html │ ├── objects.inv │ ├── reference.html │ ├── reference │ │ ├── chunk.html │ │ ├── configuration.html │ │ ├── errors.html │ │ ├── invoke.html │ │ ├── sequence.html │ │ ├── static-map.html │ │ ├── transform.html │ │ ├── view.html │ │ ├── views.html │ │ └── wrapper.html │ ├── search.html │ ├── searchindex.js │ ├── tests.html │ └── tutorial.html ├── index.rst ├── make.bat ├── reference.rst ├── reference │ ├── chunk.rst │ ├── configuration.rst │ ├── errors.rst │ ├── invoke.rst │ ├── sequence.rst │ ├── static-map.rst │ ├── transform.rst │ ├── view.rst │ ├── views.rst │ └── wrapper.rst ├── tests.rst └── tutorial.rst ├── example ├── Jamfile.v2 ├── enum_to_string.cpp ├── reference │ ├── Jamfile.v2 │ └── invoke.cpp ├── static_map.cpp ├── support_span.cpp ├── using_chunk_view.cpp ├── using_drop_view.cpp ├── using_flatten_view.cpp ├── using_raw_view.cpp └── using_transform_view.cpp ├── include └── boost │ ├── static_views.hpp │ └── static_views │ ├── algorithm_base.hpp │ ├── chunk.hpp │ ├── compact_index.hpp │ ├── concepts.hpp │ ├── copy.hpp │ ├── detail │ ├── compose.hpp │ ├── config.hpp │ ├── find_first.hpp │ ├── invoke.hpp │ ├── utils.hpp │ └── wrapper.hpp │ ├── drop.hpp │ ├── errors.hpp │ ├── flatten.hpp │ ├── hash_c.hpp │ ├── hashed.hpp │ ├── iterator.hpp │ ├── pipe.hpp │ ├── raw_view.hpp │ ├── sequence_traits.hpp │ ├── slice.hpp │ ├── static_map.hpp │ ├── take.hpp │ ├── through.hpp │ ├── transform.hpp │ ├── view_base.hpp │ └── view_concept.hpp ├── index.html ├── meta └── libraries.json ├── single-header └── static_views.hpp ├── test ├── Jamfile.v2 ├── benchmarks │ ├── Jamfile.v2 │ └── vs_unordered_map │ │ ├── benchmark.sh │ │ ├── plot-lookup.gnu │ │ └── static_map_vs_unordered_map.cpp ├── correctness │ ├── Jamfile.v2 │ ├── drop_exactly.cpp │ ├── drop_fail_1.cpp │ ├── drop_fail_2.cpp │ ├── find_first_i.cpp │ ├── hashed.cpp │ ├── invoke.cpp │ ├── lfold.cpp │ ├── raw_view_fail_1.cpp │ ├── raw_view_fail_2.cpp │ ├── raw_view_fail_3.cpp │ ├── raw_view_fail_4.cpp │ ├── raw_view_fail_5.cpp │ ├── raw_view_fail_6.cpp │ ├── raw_view_fail_7.cpp │ ├── raw_view_pass.cpp │ ├── sequence_traits_default_pass.cpp │ ├── slice.cpp │ ├── slice_fail_1.cpp │ ├── slice_fail_2.cpp │ ├── slice_pass.cpp │ ├── take_exactly.cpp │ ├── take_fail_1.cpp │ ├── take_fail_2.cpp │ ├── testing.hpp │ ├── through_pass.cpp │ ├── transform_pass.cpp │ ├── view_concept.cpp │ └── wrapper.cpp ├── headers │ ├── Jamfile.v2 │ ├── algorithm_base.cpp │ ├── compact_index.cpp │ ├── concepts.cpp │ ├── drop.cpp │ ├── errors.cpp │ ├── find_first.cpp │ ├── hash_c.cpp │ ├── hashed.cpp │ ├── iterator.cpp │ ├── pipe.cpp │ ├── raw_view.cpp │ ├── sequence_traits.cpp │ ├── slice.cpp │ ├── static_map.cpp │ ├── take.cpp │ ├── through.cpp │ ├── utils.cpp │ ├── view_base.cpp │ └── view_concept.cpp └── optimisation │ ├── CountOpcodes.py │ ├── Jamfile.v2 │ ├── static_map.cpp │ └── test_optimisation.py └── tools └── generate-single-header.py /.clang-tidy: -------------------------------------------------------------------------------- 1 | --- 2 | Checks: '*,-misc-macro-parentheses,-llvm-include-order,-cert-dcl59-cpp,-google-build-namespaces,-misc-definitions-in-headers,-misc-noexcept-move-constructor' 3 | WarningsAsErrors: '*' 4 | HeaderFilterRegex: '' 5 | AnalyzeTemporaryDtors: true 6 | ... 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | .*.swp 3 | __pycache__ 4 | .ycm_extra_conf.py 5 | Jamroot.jam 6 | -------------------------------------------------------------------------------- /.nojekyll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/.nojekyll -------------------------------------------------------------------------------- /doc/Jamfile: -------------------------------------------------------------------------------- 1 | # Copyright Tom Westerhout 2017. 2 | # Distributed under the Boost Software License, Version 1.0. 3 | # (See accompanying file LICENSE_1_0.txt or copy at 4 | # http://www.boost.org/LICENSE_1_0.txt) 5 | project boost/static_views/doc ; 6 | 7 | path-constant HERE : . ; 8 | 9 | make hof-doc : : @make-static-views-docs ; 10 | 11 | actions make-static-views-docs 12 | { 13 | sphinx-build -b html $(HERE) $(HERE)/html/ 14 | } 15 | 16 | -------------------------------------------------------------------------------- /doc/Makefile: -------------------------------------------------------------------------------- 1 | # Minimal makefile for Sphinx documentation 2 | # 3 | 4 | # You can set these variables from the command line. 5 | SPHINXOPTS = 6 | SPHINXBUILD = sphinx-build 7 | SPHINXPROJ = BoostStatic_views 8 | SOURCEDIR = . 9 | BUILDDIR = . 10 | 11 | # Put it first so that "make" without argument is like "make help". 12 | help: 13 | @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) 14 | 15 | .PHONY: help Makefile 16 | 17 | # Catch-all target: route all unknown targets to Sphinx using the new 18 | # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). 19 | %: Makefile 20 | @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) 21 | -------------------------------------------------------------------------------- /doc/_static/css/static_views.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-size: 10pt; /* BUG in boostbook.css */ 3 | } 4 | -------------------------------------------------------------------------------- /doc/_static/pictures/memory-time.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/pictures/memory-time.png -------------------------------------------------------------------------------- /doc/_static/pygments.backup.css: -------------------------------------------------------------------------------- 1 | /* Intentionally left blank */ 2 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/alert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/alert.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/blank.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/boost-proposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/boost-proposed.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/boost.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/boost.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/callouts/1.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/1.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/callouts/10.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/10.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/callouts/11.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/11.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/callouts/12.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/12.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/callouts/13.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/13.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/callouts/14.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/14.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/callouts/15.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/15.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/16.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/17.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/18.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/19.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/callouts/2.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/2.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/20.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/21.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/22.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/23.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/24.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/25.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/27.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/29.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/callouts/3.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/3.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/30.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 17 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/callouts/4.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/4.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/callouts/5.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/5.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/callouts/6.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/6.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/callouts/7.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/7.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/callouts/8.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/8.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/callouts/9.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/callouts/9.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/caution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/caution.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/draft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/draft.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/home.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/important.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/important.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/important.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | ]> 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/next.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/next.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | ]> 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/next_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/next_disabled.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/note.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/note.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/prev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/prev.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/prev.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | ]> 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/prev_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/prev_disabled.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/smiley.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/smiley.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/tip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/tip.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/toc-blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/toc-blank.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/toc-minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/toc-minus.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/toc-plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/toc-plus.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/up.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/up.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | ]> 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/up_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/up_disabled.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/_static/theme/boost/static/warning.png -------------------------------------------------------------------------------- /doc/_static/theme/boost/static/warning.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | ]> 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /doc/_static/theme/boost/theme.conf: -------------------------------------------------------------------------------- 1 | [theme] 2 | inherit = basic 3 | stylesheet = boostbook.css 4 | pygments_style = vs 5 | 6 | [options] 7 | rightsidebar = false 8 | stickysidebar = false 9 | collapsiblesidebar = false 10 | -------------------------------------------------------------------------------- /doc/_templates/.layout.html: -------------------------------------------------------------------------------- 1 | {% extends "!layout.html" %} 2 | {% set css_files = css_files + [ "_static/css/static_views.css" ] %} 3 | -------------------------------------------------------------------------------- /doc/doctrees/environment.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/doctrees/environment.pickle -------------------------------------------------------------------------------- /doc/doctrees/examples.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/doctrees/examples.doctree -------------------------------------------------------------------------------- /doc/doctrees/examples/support_span.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/doctrees/examples/support_span.doctree -------------------------------------------------------------------------------- /doc/doctrees/examples/using_drop_view.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/doctrees/examples/using_drop_view.doctree -------------------------------------------------------------------------------- /doc/doctrees/examples/using_raw_view.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/doctrees/examples/using_raw_view.doctree -------------------------------------------------------------------------------- /doc/doctrees/examples/using_take_view.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/doctrees/examples/using_take_view.doctree -------------------------------------------------------------------------------- /doc/doctrees/index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/doctrees/index.doctree -------------------------------------------------------------------------------- /doc/doctrees/reference.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/doctrees/reference.doctree -------------------------------------------------------------------------------- /doc/doctrees/reference/invoke.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/doctrees/reference/invoke.doctree -------------------------------------------------------------------------------- /doc/doctrees/reference/sequence.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/doctrees/reference/sequence.doctree -------------------------------------------------------------------------------- /doc/doctrees/reference/static-map.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/doctrees/reference/static-map.doctree -------------------------------------------------------------------------------- /doc/doctrees/reference/view.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/doctrees/reference/view.doctree -------------------------------------------------------------------------------- /doc/doctrees/reference/views.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/doctrees/reference/views.doctree -------------------------------------------------------------------------------- /doc/doctrees/reference/wrapper.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/doctrees/reference/wrapper.doctree -------------------------------------------------------------------------------- /doc/doctrees/tests.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/doctrees/tests.doctree -------------------------------------------------------------------------------- /doc/doctrees/tutorial.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/doctrees/tutorial.doctree -------------------------------------------------------------------------------- /doc/examples.rst: -------------------------------------------------------------------------------- 1 | .. _examples: 2 | 3 | ********************************************************************* 4 | Examples 5 | ********************************************************************* 6 | 7 | .. toctree:: 8 | 9 | examples/using_raw_view 10 | examples/using_drop_view 11 | examples/using_take_view 12 | examples/support_span 13 | -------------------------------------------------------------------------------- /doc/examples/support_span.rst: -------------------------------------------------------------------------------- 1 | .. _support-span-example: 2 | 3 | Specialising sequence_traits example 4 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 5 | 6 | .. literalinclude:: ../../example/support_span.cpp 7 | :language: cpp 8 | -------------------------------------------------------------------------------- /doc/examples/using_drop_view.rst: -------------------------------------------------------------------------------- 1 | .. _drop-view-example: 2 | 3 | Drop view example. 4 | ^^^^^^^^^^^^^^^^^^ 5 | 6 | .. literalinclude:: ../../example/using_drop_view.cpp 7 | :language: cpp 8 | -------------------------------------------------------------------------------- /doc/examples/using_raw_view.rst: -------------------------------------------------------------------------------- 1 | .. _raw-view-example: 2 | 3 | Raw view example. 4 | ^^^^^^^^^^^^^^^^^ 5 | 6 | .. literalinclude:: ../../example/using_raw_view.cpp 7 | :language: cpp 8 | -------------------------------------------------------------------------------- /doc/examples/using_take_view.rst: -------------------------------------------------------------------------------- 1 | .. _take-view-example: 2 | 3 | Take view example. 4 | ^^^^^^^^^^^^^^^^^^ 5 | 6 | .. literalinclude:: ../../example/using_take_view.cpp 7 | :language: cpp 8 | -------------------------------------------------------------------------------- /doc/html/.buildinfo: -------------------------------------------------------------------------------- 1 | # Sphinx build info version 1 2 | # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. 3 | config: 3b9f76774313dd8e65ac2367ded67163 4 | tags: 645f666f9bcd5a90fca523b33c5a78b7 5 | -------------------------------------------------------------------------------- /doc/html/.doctrees/environment.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/.doctrees/environment.pickle -------------------------------------------------------------------------------- /doc/html/.doctrees/examples.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/.doctrees/examples.doctree -------------------------------------------------------------------------------- /doc/html/.doctrees/examples/support_span.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/.doctrees/examples/support_span.doctree -------------------------------------------------------------------------------- /doc/html/.doctrees/examples/using_drop_view.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/.doctrees/examples/using_drop_view.doctree -------------------------------------------------------------------------------- /doc/html/.doctrees/examples/using_raw_view.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/.doctrees/examples/using_raw_view.doctree -------------------------------------------------------------------------------- /doc/html/.doctrees/examples/using_take_view.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/.doctrees/examples/using_take_view.doctree -------------------------------------------------------------------------------- /doc/html/.doctrees/index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/.doctrees/index.doctree -------------------------------------------------------------------------------- /doc/html/.doctrees/reference.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/.doctrees/reference.doctree -------------------------------------------------------------------------------- /doc/html/.doctrees/reference/chunk.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/.doctrees/reference/chunk.doctree -------------------------------------------------------------------------------- /doc/html/.doctrees/reference/configuration.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/.doctrees/reference/configuration.doctree -------------------------------------------------------------------------------- /doc/html/.doctrees/reference/errors.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/.doctrees/reference/errors.doctree -------------------------------------------------------------------------------- /doc/html/.doctrees/reference/invoke.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/.doctrees/reference/invoke.doctree -------------------------------------------------------------------------------- /doc/html/.doctrees/reference/sequence.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/.doctrees/reference/sequence.doctree -------------------------------------------------------------------------------- /doc/html/.doctrees/reference/static-map.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/.doctrees/reference/static-map.doctree -------------------------------------------------------------------------------- /doc/html/.doctrees/reference/transform.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/.doctrees/reference/transform.doctree -------------------------------------------------------------------------------- /doc/html/.doctrees/reference/view.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/.doctrees/reference/view.doctree -------------------------------------------------------------------------------- /doc/html/.doctrees/reference/views.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/.doctrees/reference/views.doctree -------------------------------------------------------------------------------- /doc/html/.doctrees/reference/wrapper.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/.doctrees/reference/wrapper.doctree -------------------------------------------------------------------------------- /doc/html/.doctrees/tests.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/.doctrees/tests.doctree -------------------------------------------------------------------------------- /doc/html/.doctrees/tutorial.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/.doctrees/tutorial.doctree -------------------------------------------------------------------------------- /doc/html/.nojekyll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/.nojekyll -------------------------------------------------------------------------------- /doc/html/_images/memory-time.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_images/memory-time.png -------------------------------------------------------------------------------- /doc/html/_sources/examples.rst.txt: -------------------------------------------------------------------------------- 1 | .. _examples: 2 | 3 | ********************************************************************* 4 | Examples 5 | ********************************************************************* 6 | 7 | .. toctree:: 8 | 9 | examples/using_raw_view 10 | examples/using_drop_view 11 | examples/using_take_view 12 | examples/support_span 13 | -------------------------------------------------------------------------------- /doc/html/_sources/examples/support_span.rst.txt: -------------------------------------------------------------------------------- 1 | .. _support-span-example: 2 | 3 | Specialising sequence_traits example 4 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 5 | 6 | .. literalinclude:: ../../example/support_span.cpp 7 | :language: cpp 8 | -------------------------------------------------------------------------------- /doc/html/_sources/examples/using_drop_view.rst.txt: -------------------------------------------------------------------------------- 1 | .. _drop-view-example: 2 | 3 | Drop view example. 4 | ^^^^^^^^^^^^^^^^^^ 5 | 6 | .. literalinclude:: ../../example/using_drop_view.cpp 7 | :language: cpp 8 | -------------------------------------------------------------------------------- /doc/html/_sources/examples/using_raw_view.rst.txt: -------------------------------------------------------------------------------- 1 | .. _raw-view-example: 2 | 3 | Raw view example. 4 | ^^^^^^^^^^^^^^^^^ 5 | 6 | .. literalinclude:: ../../example/using_raw_view.cpp 7 | :language: cpp 8 | -------------------------------------------------------------------------------- /doc/html/_sources/examples/using_take_view.rst.txt: -------------------------------------------------------------------------------- 1 | .. _take-view-example: 2 | 3 | Take view example. 4 | ^^^^^^^^^^^^^^^^^^ 5 | 6 | .. literalinclude:: ../../example/using_take_view.cpp 7 | :language: cpp 8 | -------------------------------------------------------------------------------- /doc/html/_sources/reference.rst.txt: -------------------------------------------------------------------------------- 1 | 2 | .. _reference: 3 | 4 | ********************************************************************* 5 | Reference 6 | ********************************************************************* 7 | 8 | 9 | .. toctree:: 10 | 11 | reference/sequence.rst 12 | reference/view.rst 13 | reference/views.rst 14 | reference/static-map.rst 15 | reference/configuration.rst 16 | reference/chunk.rst 17 | reference/transform.rst 18 | reference/errors.rst 19 | reference/invoke.rst 20 | reference/wrapper.rst 21 | -------------------------------------------------------------------------------- /doc/html/_sources/reference/errors.rst.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 4 | 5 | Synopsis: 6 | 7 | .. code-block:: cpp 8 | 9 | namespace boost { 10 | namespace static_views { 11 | 12 | #if defined(BOOST_STATIC_VIEWS_THROW_ON_FAILURES) 13 | class assertion_failure : public virtual std::runtime_error { 14 | /* implementation details */ 15 | }; 16 | #endif 17 | 18 | class full_bucket : public virtual std::runtime_error { 19 | public: 20 | full_bucket(); 21 | full_bucket(char const*); 22 | full_bucket(std::string const&); 23 | }; 24 | 25 | class out_of_bound : public virtual std::runtime_error { 26 | public: 27 | out_of_bound(); 28 | out_of_bound(char const*); 29 | out_of_bound(std::string const&); 30 | }; 31 | 32 | } // namespace boost 33 | } // namespace static_views 34 | 35 | 36 | .. cpp:namespace:: boost::static_views 37 | 38 | 39 | .. cpp:class:: assertion_failure 40 | 41 | Exception type that is thrown in when an assertion failure occurs if 42 | :c:macro:`BOOST_STATIC_VIEWS_THROW_ON_FAILURES` is defined. 43 | 44 | .. cpp:class:: full_bucket 45 | 46 | Exception type that is thrown when an insertion into a full bucket is 47 | attempted. 48 | 49 | .. cpp:class:: out_of_bound 50 | 51 | Exception type that is thrown when an out of bounds access is 52 | attempted. 53 | 54 | 55 | -------------------------------------------------------------------------------- /doc/html/_sources/reference/invoke.rst.txt: -------------------------------------------------------------------------------- 1 | 2 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 | 4 | .. cpp:function:: template \ 5 | constexpr decltype(auto) \ 6 | invoke(Function&& fn, Arguments&&... args) 7 | 8 | Invokes the `Callable`_ object ``fn`` with the parameters ``args``. 9 | This is a ``constexpr`` (and ``C++14``-compatible) version of 10 | |std::invoke|_. It is ``noexcept`` whenever possible, i.e. if the 11 | object being invoked does not throw, then this function will be marked 12 | ``noexcept``. 13 | 14 | Example usage (requires ``C++17`` for |std::invoke|_): 15 | 16 | .. literalinclude:: ../../example/reference/invoke.cpp 17 | :language: cpp 18 | 19 | .. _Callable: https://en.cppreference.com/w/cpp/named_req/Callable 20 | 21 | .. |std::invoke| replace:: ``std::invoke`` 22 | .. _std::invoke: https://en.cppreference.com/w/cpp/utility/functional/invoke 23 | -------------------------------------------------------------------------------- /doc/html/_sources/reference/view.rst.txt: -------------------------------------------------------------------------------- 1 | .. _view-concept: 2 | 3 | View 4 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 5 | 6 | Views are the core building blocks of the library. The are like non-owning 7 | containers. Here's how one can define the View concept using `Concepts TS 8 | `_ 9 | syntax: 10 | 11 | .. code-block:: cpp 12 | 13 | template 14 | concept bool MoveConstructible = std::is_move_constructible::value; 15 | 16 | template 17 | concept bool View() 18 | { 19 | return requires (T xs, std::size_t i) { 20 | requires MoveConstructible; 21 | { T::extent(); } noexcept -> std::ptrdiff_t; 22 | { xs.size(); } noexcept -> std::size_t; 23 | { xs.unsafe_at(i); }; 24 | { xs[i]; }; 25 | }; 26 | } 27 | 28 | Seeing as the library only requires ``C++14``, a slightly different 29 | realisation had to be used. 30 | 31 | .. doxygenstruct:: boost::static_views::concepts::View 32 | :project: static-views 33 | -------------------------------------------------------------------------------- /doc/html/_static/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/ajax-loader.gif -------------------------------------------------------------------------------- /doc/html/_static/alert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/alert.png -------------------------------------------------------------------------------- /doc/html/_static/blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/blank.png -------------------------------------------------------------------------------- /doc/html/_static/boost-proposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/boost-proposed.png -------------------------------------------------------------------------------- /doc/html/_static/boost.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/boost.png -------------------------------------------------------------------------------- /doc/html/_static/callouts/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/callouts/1.png -------------------------------------------------------------------------------- /doc/html/_static/callouts/1.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/callouts/10.png -------------------------------------------------------------------------------- /doc/html/_static/callouts/10.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/callouts/11.png -------------------------------------------------------------------------------- /doc/html/_static/callouts/11.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/callouts/12.png -------------------------------------------------------------------------------- /doc/html/_static/callouts/12.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/callouts/13.png -------------------------------------------------------------------------------- /doc/html/_static/callouts/13.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/callouts/14.png -------------------------------------------------------------------------------- /doc/html/_static/callouts/14.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/callouts/15.png -------------------------------------------------------------------------------- /doc/html/_static/callouts/15.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/16.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/17.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/18.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/19.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/callouts/2.png -------------------------------------------------------------------------------- /doc/html/_static/callouts/2.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/20.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/21.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/22.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/23.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/24.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/25.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/27.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/29.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/callouts/3.png -------------------------------------------------------------------------------- /doc/html/_static/callouts/3.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/30.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 17 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/callouts/4.png -------------------------------------------------------------------------------- /doc/html/_static/callouts/4.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/callouts/5.png -------------------------------------------------------------------------------- /doc/html/_static/callouts/5.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/callouts/6.png -------------------------------------------------------------------------------- /doc/html/_static/callouts/6.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/callouts/7.png -------------------------------------------------------------------------------- /doc/html/_static/callouts/7.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/callouts/8.png -------------------------------------------------------------------------------- /doc/html/_static/callouts/8.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/html/_static/callouts/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/callouts/9.png -------------------------------------------------------------------------------- /doc/html/_static/callouts/9.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/html/_static/caution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/caution.png -------------------------------------------------------------------------------- /doc/html/_static/comment-bright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/comment-bright.png -------------------------------------------------------------------------------- /doc/html/_static/comment-close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/comment-close.png -------------------------------------------------------------------------------- /doc/html/_static/comment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/comment.png -------------------------------------------------------------------------------- /doc/html/_static/css/static_views.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-size: 10pt; /* BUG in boostbook.css */ 3 | } 4 | -------------------------------------------------------------------------------- /doc/html/_static/documentation_options.js: -------------------------------------------------------------------------------- 1 | var DOCUMENTATION_OPTIONS = { 2 | URL_ROOT: '', 3 | VERSION: '', 4 | LANGUAGE: 'None', 5 | COLLAPSE_INDEX: false, 6 | FILE_SUFFIX: '.html', 7 | HAS_SOURCE: true, 8 | SOURCELINK_SUFFIX: '.txt' 9 | }; -------------------------------------------------------------------------------- /doc/html/_static/down-pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/down-pressed.png -------------------------------------------------------------------------------- /doc/html/_static/down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/down.png -------------------------------------------------------------------------------- /doc/html/_static/draft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/draft.png -------------------------------------------------------------------------------- /doc/html/_static/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/file.png -------------------------------------------------------------------------------- /doc/html/_static/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/home.png -------------------------------------------------------------------------------- /doc/html/_static/important.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/important.png -------------------------------------------------------------------------------- /doc/html/_static/important.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | ]> 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/_static/minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/minus.png -------------------------------------------------------------------------------- /doc/html/_static/next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/next.png -------------------------------------------------------------------------------- /doc/html/_static/next.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | ]> 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/html/_static/next_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/next_disabled.png -------------------------------------------------------------------------------- /doc/html/_static/note.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/note.png -------------------------------------------------------------------------------- /doc/html/_static/pictures/memory-time.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/pictures/memory-time.png -------------------------------------------------------------------------------- /doc/html/_static/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/plus.png -------------------------------------------------------------------------------- /doc/html/_static/prev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/prev.png -------------------------------------------------------------------------------- /doc/html/_static/prev.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | ]> 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/html/_static/prev_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/prev_disabled.png -------------------------------------------------------------------------------- /doc/html/_static/pygments.backup.css: -------------------------------------------------------------------------------- 1 | /* Intentionally left blank */ 2 | -------------------------------------------------------------------------------- /doc/html/_static/smiley.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/smiley.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/alert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/alert.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/blank.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/boost-proposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/boost-proposed.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/boost.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/boost.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/callouts/1.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/1.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/callouts/10.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/10.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/callouts/11.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/11.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/callouts/12.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/12.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/callouts/13.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/13.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/callouts/14.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/14.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/callouts/15.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/15.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/16.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/17.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/18.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/19.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 13 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/callouts/2.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/2.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/20.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/21.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/22.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/24.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/25.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/27.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 15 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/callouts/3.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/3.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/30.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 17 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/callouts/4.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/4.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/callouts/5.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/5.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/callouts/6.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/6.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/callouts/7.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/7.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/callouts/8.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/8.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/callouts/9.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/callouts/9.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 9 | 10 | 11 | 12 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/caution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/caution.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/draft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/draft.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/home.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/important.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/important.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/important.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | ]> 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/next.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/next.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | ]> 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/next_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/next_disabled.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/note.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/note.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/prev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/prev.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/prev.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | ]> 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/prev_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/prev_disabled.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/smiley.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/smiley.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/tip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/tip.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/toc-blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/toc-blank.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/toc-minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/toc-minus.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/toc-plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/toc-plus.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/up.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/up.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | ]> 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/up_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/up_disabled.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/theme/boost/static/warning.png -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/static/warning.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | ]> 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /doc/html/_static/theme/boost/theme.conf: -------------------------------------------------------------------------------- 1 | [theme] 2 | inherit = basic 3 | stylesheet = boostbook.css 4 | pygments_style = vs 5 | 6 | [options] 7 | rightsidebar = false 8 | stickysidebar = false 9 | collapsiblesidebar = false 10 | -------------------------------------------------------------------------------- /doc/html/_static/tip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/tip.png -------------------------------------------------------------------------------- /doc/html/_static/toc-blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/toc-blank.png -------------------------------------------------------------------------------- /doc/html/_static/toc-minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/toc-minus.png -------------------------------------------------------------------------------- /doc/html/_static/toc-plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/toc-plus.png -------------------------------------------------------------------------------- /doc/html/_static/up-pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/up-pressed.png -------------------------------------------------------------------------------- /doc/html/_static/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/up.png -------------------------------------------------------------------------------- /doc/html/_static/up.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | ]> 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /doc/html/_static/up_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/up_disabled.png -------------------------------------------------------------------------------- /doc/html/_static/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/_static/warning.png -------------------------------------------------------------------------------- /doc/html/_static/warning.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | ]> 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /doc/html/objects.inv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BoostGSoC17/static-views/32537a69dbf693697577816ee06450fc4ec2a6fb/doc/html/objects.inv -------------------------------------------------------------------------------- /doc/make.bat: -------------------------------------------------------------------------------- 1 | @ECHO OFF 2 | 3 | pushd %~dp0 4 | 5 | REM Command file for Sphinx documentation 6 | 7 | if "%SPHINXBUILD%" == "" ( 8 | set SPHINXBUILD=sphinx-build 9 | ) 10 | set SOURCEDIR=. 11 | set BUILDDIR=. 12 | set SPHINXPROJ=BoostStatic_views 13 | 14 | if "%1" == "" goto help 15 | 16 | %SPHINXBUILD% >NUL 2>NUL 17 | if errorlevel 9009 ( 18 | echo. 19 | echo.The 'sphinx-build' command was not found. Make sure you have Sphinx 20 | echo.installed, then set the SPHINXBUILD environment variable to point 21 | echo.to the full path of the 'sphinx-build' executable. Alternatively you 22 | echo.may add the Sphinx directory to PATH. 23 | echo. 24 | echo.If you don't have Sphinx installed, grab it from 25 | echo.http://sphinx-doc.org/ 26 | exit /b 1 27 | ) 28 | 29 | %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% 30 | goto end 31 | 32 | :help 33 | %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% 34 | 35 | :end 36 | popd 37 | -------------------------------------------------------------------------------- /doc/reference.rst: -------------------------------------------------------------------------------- 1 | 2 | .. _reference: 3 | 4 | ********************************************************************* 5 | Reference 6 | ********************************************************************* 7 | 8 | 9 | .. toctree:: 10 | 11 | reference/sequence.rst 12 | reference/view.rst 13 | reference/views.rst 14 | reference/static-map.rst 15 | reference/configuration.rst 16 | reference/chunk.rst 17 | reference/transform.rst 18 | reference/errors.rst 19 | reference/invoke.rst 20 | reference/wrapper.rst 21 | -------------------------------------------------------------------------------- /doc/reference/errors.rst: -------------------------------------------------------------------------------- 1 | 2 | 3 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 4 | 5 | Synopsis: 6 | 7 | .. code-block:: cpp 8 | 9 | namespace boost { 10 | namespace static_views { 11 | 12 | #if defined(BOOST_STATIC_VIEWS_THROW_ON_FAILURES) 13 | class assertion_failure : public virtual std::runtime_error { 14 | /* implementation details */ 15 | }; 16 | #endif 17 | 18 | class full_bucket : public virtual std::runtime_error { 19 | public: 20 | full_bucket(); 21 | full_bucket(char const*); 22 | full_bucket(std::string const&); 23 | }; 24 | 25 | class out_of_bound : public virtual std::runtime_error { 26 | public: 27 | out_of_bound(); 28 | out_of_bound(char const*); 29 | out_of_bound(std::string const&); 30 | }; 31 | 32 | } // namespace boost 33 | } // namespace static_views 34 | 35 | 36 | .. cpp:namespace:: boost::static_views 37 | 38 | 39 | .. cpp:class:: assertion_failure 40 | 41 | Exception type that is thrown in when an assertion failure occurs if 42 | :c:macro:`BOOST_STATIC_VIEWS_THROW_ON_FAILURES` is defined. 43 | 44 | .. cpp:class:: full_bucket 45 | 46 | Exception type that is thrown when an insertion into a full bucket is 47 | attempted. 48 | 49 | .. cpp:class:: out_of_bound 50 | 51 | Exception type that is thrown when an out of bounds access is 52 | attempted. 53 | 54 | 55 | -------------------------------------------------------------------------------- /doc/reference/invoke.rst: -------------------------------------------------------------------------------- 1 | 2 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 | 4 | .. cpp:function:: template \ 5 | constexpr decltype(auto) \ 6 | invoke(Function&& fn, Arguments&&... args) 7 | 8 | Invokes the `Callable`_ object ``fn`` with the parameters ``args``. 9 | This is a ``constexpr`` (and ``C++14``-compatible) version of 10 | |std::invoke|_. It is ``noexcept`` whenever possible, i.e. if the 11 | object being invoked does not throw, then this function will be marked 12 | ``noexcept``. 13 | 14 | Example usage (requires ``C++17`` for |std::invoke|_): 15 | 16 | .. literalinclude:: ../../example/reference/invoke.cpp 17 | :language: cpp 18 | 19 | .. _Callable: https://en.cppreference.com/w/cpp/named_req/Callable 20 | 21 | .. |std::invoke| replace:: ``std::invoke`` 22 | .. _std::invoke: https://en.cppreference.com/w/cpp/utility/functional/invoke 23 | -------------------------------------------------------------------------------- /doc/reference/view.rst: -------------------------------------------------------------------------------- 1 | .. _view-concept: 2 | 3 | View 4 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 5 | 6 | Views are the core building blocks of the library. The are like non-owning 7 | containers. Here's how one can define the View concept using `Concepts TS 8 | `_ 9 | syntax: 10 | 11 | .. code-block:: cpp 12 | 13 | template 14 | concept bool MoveConstructible = std::is_move_constructible::value; 15 | 16 | template 17 | concept bool View() 18 | { 19 | return requires (T xs, std::size_t i) { 20 | requires MoveConstructible; 21 | { T::extent(); } noexcept -> std::ptrdiff_t; 22 | { xs.size(); } noexcept -> std::size_t; 23 | { xs.unsafe_at(i); }; 24 | { xs[i]; }; 25 | }; 26 | } 27 | 28 | Seeing as the library only requires ``C++14``, a slightly different 29 | realisation had to be used. 30 | 31 | .. doxygenstruct:: boost::static_views::concepts::View 32 | :project: static-views 33 | -------------------------------------------------------------------------------- /example/Jamfile.v2: -------------------------------------------------------------------------------- 1 | # Copyright Tom Westerhout 2017-2018. 2 | # Distributed under the Boost Software License, Version 1.0. 3 | # (See accompanying file LICENSE_1_0.txt or copy at 4 | # http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | import path ; 7 | 8 | path-constant HERE : . ; 9 | .additional-includes = [ path.native "$(HERE)/../include" ] ; 10 | 11 | project 12 | : requirements debug 13 | $(.additional-includes) 14 | all 15 | ; 16 | 17 | 18 | exe using_raw_view : using_raw_view.cpp ; 19 | exe using_drop_view : using_drop_view.cpp ; 20 | exe using_transform_view : using_transform_view.cpp ; 21 | exe using_chunk_view : using_chunk_view.cpp ; 22 | exe using_flatten_view : using_flatten_view.cpp ; 23 | exe static_map : static_map.cpp ; 24 | exe enum_to_string : enum_to_string.cpp 25 | : release 26 | "-DBOOST_STATIC_VIEWS_DISABLE_CHECKS" 27 | ; 28 | exe support_span : support_span.cpp ; 29 | explicit support_span ; 30 | -------------------------------------------------------------------------------- /example/reference/Jamfile.v2: -------------------------------------------------------------------------------- 1 | # Copyright Tom Westerhout 2018. 2 | # Distributed under the Boost Software License, Version 1.0. 3 | # (See accompanying file LICENSE_1_0.txt or copy at 4 | # http://www.boost.org/LICENSE_1_0.txt) 5 | project boost/static_views/example/reference 6 | : requirements debug 7 | $(.additional-includes) 8 | clang:"-std=c++17" 9 | gcc:"-std=c++17" 10 | msvc:"/std:c++17" 11 | all 12 | ; 13 | 14 | import path ; 15 | 16 | path-constant HERE : . ; 17 | .additional-includes = [ path.native "$(HERE)/../../include" ] ; 18 | 19 | exe invoke : invoke.cpp ; 20 | -------------------------------------------------------------------------------- /example/using_chunk_view.cpp: -------------------------------------------------------------------------------- 1 | // Copyright Tom Westerhout 2018. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include 7 | #include // for | syntax 8 | #include // to get boost::static_views::raw_view 9 | #include // to get boost::static_views::chunk 10 | 11 | namespace sv = boost::static_views; 12 | 13 | int main() 14 | { 15 | // First of all, we need some view of the data 16 | static constexpr int data[] = {1, 2, 3, 4, 5, 6}; 17 | static constexpr auto raw = sv::raw_view(data); 18 | 19 | // Splits raw into chunks of 3 elements 20 | constexpr auto v1 = sv::chunk(raw, 3); 21 | 22 | // The docs promised to return a View 23 | using v1_type = std::remove_const_t; 24 | static_assert(sv::View, "Since when is a chunk view not a View?"); 25 | 26 | // Each element of the chunk view is itself a view, so we can iterate over 27 | // it. 28 | for (auto x : v1[1]) 29 | std::cout << x << '\n'; 30 | 31 | // If a compile-time constant is passed instead 32 | constexpr auto v2 = sv::chunk(raw, std::integral_constant{}); 33 | // Then elements will have static extent 34 | static_assert(v2.unsafe_at(0).extent() == 3, 35 | "The size of v2[0] _is_ known at compile-time!"); 36 | } 37 | -------------------------------------------------------------------------------- /example/using_flatten_view.cpp: -------------------------------------------------------------------------------- 1 | // Copyright Tom Westerhout 2018. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include 7 | #include // for | syntax 8 | #include // to get boost::static_views::raw_view 9 | #include // to get boost::static_views::chunk 10 | 11 | namespace sv = boost::static_views; 12 | 13 | int main() 14 | { 15 | // First of all, we need some view of the data 16 | static constexpr int data[] = {1, 2, 3, 4, 5, 6}; 17 | static constexpr decltype(sv::raw_view(data)) data_2[] = { 18 | sv::raw_view(data), sv::raw_view(data), sv::raw_view(data)}; 19 | 20 | // Splits raw into chunks of 3 elements 21 | constexpr auto v1 = sv::flatten(sv::raw_view(data_2)); 22 | 23 | // The docs promised to return a View 24 | using v1_type = std::remove_const_t; 25 | static_assert(sv::View, "Since when is a chunk view not a View?"); 26 | 27 | static_assert(v1.size() == 6 * 3, ""); 28 | // Each element of the chunk view is itself a view, so we can iterate over 29 | // it. 30 | for (auto x : v1) 31 | std::cout << x << '\n'; 32 | 33 | } 34 | -------------------------------------------------------------------------------- /include/boost/static_views.hpp: -------------------------------------------------------------------------------- 1 | // Copyright Tom Westerhout 2017-2018. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // Include _all_ the headers 7 | 8 | #ifndef BOOST_STATIC_VIEWS_STATIC_VIEWS_HPP 9 | #define BOOST_STATIC_VIEWS_STATIC_VIEWS_HPP 10 | 11 | #include "static_views/algorithm_base.hpp" 12 | #include "static_views/chunk.hpp" 13 | #include "static_views/drop.hpp" 14 | #include "static_views/errors.hpp" 15 | #include "static_views/flatten.hpp" 16 | #include "static_views/hash_c.hpp" 17 | #include "static_views/hashed.hpp" 18 | #include "static_views/iterator.hpp" 19 | #include "static_views/pipe.hpp" 20 | #include "static_views/raw_view.hpp" 21 | #include "static_views/sequence_traits.hpp" 22 | #include "static_views/slice.hpp" 23 | #include "static_views/static_map.hpp" 24 | #include "static_views/take.hpp" 25 | #include "static_views/through.hpp" 26 | #include "static_views/transform.hpp" 27 | #include "static_views/view_base.hpp" 28 | #include "static_views/view_concept.hpp" 29 | 30 | #endif // BOOST_STATIC_VIEWS_STATIC_VIEWS_HPP 31 | -------------------------------------------------------------------------------- /include/boost/static_views/detail/find_first.hpp: -------------------------------------------------------------------------------- 1 | // Copyright Tom Westerhout 2017-2018. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef BOOST_STATIC_VIEWS_DETAIL_FIND_FIRST_HPP 7 | #define BOOST_STATIC_VIEWS_DETAIL_FIND_FIRST_HPP 8 | 9 | #include "../view_concept.hpp" 10 | 11 | BOOST_STATIC_VIEWS_BEGIN_NAMESPACE 12 | 13 | namespace detail { 14 | struct find_first_i_impl { 15 | // clang-format off 16 | template 18 | && is_invocable_r::value) 19 | BOOST_STATIC_VIEWS_CONSTEXPR 20 | auto operator()(V const& xs, Predicate&& p) const 21 | // clang-format on 22 | BOOST_STATIC_VIEWS_NOEXCEPT_IF(noexcept( 23 | invoke(p, xs.unsafe_at(std::declval())))) 24 | { 25 | using index_type = typename V::index_type; 26 | index_type const n = static_cast(xs.size()); 27 | index_type i = 0; 28 | while (i < n && !invoke(p, xs.unsafe_at(i))) { 29 | ++i; 30 | } 31 | return i; 32 | } 33 | }; 34 | } // namespace detail 35 | 36 | BOOST_STATIC_VIEWS_INLINE_VARIABLE(detail::find_first_i_impl, find_first_i) 37 | 38 | BOOST_STATIC_VIEWS_END_NAMESPACE 39 | 40 | #endif // BOOST_STATIC_VIEWS_DETAIL_FIND_FIRST_HPP 41 | -------------------------------------------------------------------------------- /include/boost/static_views/detail/utils.hpp: -------------------------------------------------------------------------------- 1 | // Copyright Tom Westerhout 2017-2018. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef BOOST_STATIC_VIEWS_DETAIL_UTILS_HPP 7 | #define BOOST_STATIC_VIEWS_DETAIL_UTILS_HPP 8 | 9 | #include "config.hpp" 10 | 11 | BOOST_STATIC_VIEWS_BEGIN_NAMESPACE 12 | 13 | namespace detail { 14 | 15 | constexpr auto all() noexcept -> bool { return true; } 16 | 17 | template 18 | constexpr auto all(bool const x, Bools... xs) noexcept -> bool 19 | { 20 | return x && all(xs...); 21 | } 22 | 23 | constexpr auto any() noexcept -> bool { return false; } 24 | 25 | template 26 | constexpr auto any(bool const x, Bools... xs) noexcept -> bool 27 | { 28 | return x || any(xs...); 29 | } 30 | 31 | } // namespace detail 32 | 33 | BOOST_STATIC_VIEWS_END_NAMESPACE 34 | 35 | #endif // BOOST_STATIC_VIEWS_DETAIL_UTILS_HPP 36 | -------------------------------------------------------------------------------- /include/boost/static_views/pipe.hpp: -------------------------------------------------------------------------------- 1 | // Copyright Tom Westerhout 2017. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef BOOST_STATIC_VIEWS_PIPE_HPP 7 | #define BOOST_STATIC_VIEWS_PIPE_HPP 8 | 9 | #include "detail/config.hpp" 10 | #include "detail/invoke.hpp" 11 | #include "view_concept.hpp" 12 | 13 | BOOST_STATIC_VIEWS_BEGIN_NAMESPACE 14 | 15 | // namespace detail here is needed to make ADL work. Functions like raw_view 16 | // return structs from boost::static_views::detail namespace rather than 17 | // boost::static_views. 18 | namespace detail { 19 | 20 | // clang-format off 21 | template >>) 24 | BOOST_STATIC_VIEWS_FORCEINLINE 25 | BOOST_STATIC_VIEWS_CONSTEXPR 26 | auto operator|(V&& xs, F&& pipe) 27 | BOOST_STATIC_VIEWS_AUTO_NOEXCEPT_RETURN 28 | ( 29 | invoke(std::forward(pipe), std::forward(xs)) 30 | ); 31 | // clang-format on 32 | 33 | } // namespace detail 34 | 35 | using detail::operator|; 36 | 37 | BOOST_STATIC_VIEWS_END_NAMESPACE 38 | 39 | #endif // BOOST_STATIC_VIEWS_PIPE_HPP 40 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 10 | Boost Static Views Documentation 11 | 12 | 13 | 14 | If you are not redirected automatically, follow this 15 | link to documentation. 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /meta/libraries.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "static_views", 3 | "name": "Static Views", 4 | "authors": [ "Tom Westerhout" ], 5 | "maintainers": [ "Tom Westerhout " ], 6 | "description": "Compile-time non-owning containers (a.k.a. views).", 7 | "category": [ 8 | "Containers" 9 | ] 10 | } 11 | 12 | -------------------------------------------------------------------------------- /test/correctness/drop_fail_1.cpp: -------------------------------------------------------------------------------- 1 | // Copyright Tom Westerhout 2017-2018. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include 7 | 8 | int main() 9 | { 10 | int data[] = {1, 2, 3, 4, 5}; 11 | // Pass a type that does not model the View concept 12 | auto const view = boost::static_views::drop_exactly(2u)(data); 13 | } 14 | -------------------------------------------------------------------------------- /test/correctness/drop_fail_2.cpp: -------------------------------------------------------------------------------- 1 | // Copyright Tom Westerhout 2017. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include 7 | #include 8 | 9 | int main() 10 | { 11 | static constexpr int data[] = {1, 2, 3, 4, 5}; 12 | // Index out of bound error should be caught at compile-time 13 | constexpr auto fn = boost::static_views::drop_exactly( 14 | std::integral_constant{})(boost::static_views::raw_view(data)); 15 | } 16 | -------------------------------------------------------------------------------- /test/correctness/find_first_i.cpp: -------------------------------------------------------------------------------- 1 | // Copyright Tom Westerhout 2017. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include "testing.hpp" 7 | #include 8 | #include 9 | #include 10 | 11 | auto test_1() 12 | { 13 | static constexpr int data[] = {1, 7, 4, 8, 11}; 14 | static constexpr auto xs = boost::static_views::raw_view(data); 15 | 16 | struct is_8_impl { 17 | constexpr auto operator() (int const x) const noexcept 18 | { 19 | return x == 8; 20 | } 21 | }; 22 | constexpr is_8_impl is_8; 23 | 24 | // Related to a bug in detail/invoke.hpp 25 | STATIC_ASSERT(boost::static_views::invoke(is_8_impl{}, 5) == false, ""); 26 | STATIC_ASSERT( 27 | (boost::static_views::is_invocable::value), ""); 28 | STATIC_ASSERT((boost::static_views::find_first_i(xs, is_8) == 3), 29 | "find_first_i is broken!"); 30 | } 31 | 32 | int main() 33 | { 34 | test_1(); 35 | return boost::report_errors(); 36 | } 37 | -------------------------------------------------------------------------------- /test/correctness/hashed.cpp: -------------------------------------------------------------------------------- 1 | // Copyright Tom Westerhout 2018. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include "testing.hpp" 7 | #include 8 | #include 9 | #include 10 | 11 | auto test_make() 12 | { 13 | struct hasher { 14 | constexpr auto operator()(int const x) const noexcept 15 | { 16 | return static_cast(x); 17 | } 18 | }; 19 | 20 | static constexpr int xs_data[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; 21 | static constexpr auto xs_lvalue = boost::static_views::raw_view(xs_data); 22 | 23 | auto const ys = boost::static_views::hashed<6, 2>(xs_lvalue, hasher{}); 24 | using ys_type = std::remove_cv_t; 25 | STATIC_ASSERT(boost::static_views::View, ""); 26 | } 27 | 28 | 29 | int main() 30 | { 31 | test_make(); 32 | return boost::report_errors(); 33 | } 34 | -------------------------------------------------------------------------------- /test/correctness/raw_view_fail_1.cpp: -------------------------------------------------------------------------------- 1 | // Copyright Tom Westerhout 2017-2018. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include 7 | 8 | struct MySequence { 9 | }; 10 | 11 | int main() 12 | { 13 | MySequence seq{}; 14 | // Pass a type that does not model the Sequence concept. 15 | // Reason: no specialisation of sequence_traits. 16 | auto const view = boost::static_views::raw_view(seq); 17 | } 18 | -------------------------------------------------------------------------------- /test/correctness/raw_view_fail_2.cpp: -------------------------------------------------------------------------------- 1 | // Copyright Tom Westerhout 2017-2018. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include 7 | 8 | struct MySequence { 9 | }; 10 | 11 | namespace boost { 12 | namespace static_views { 13 | template <> 14 | struct sequence_traits { 15 | }; 16 | } // namespace static_views 17 | } // namespace boost 18 | 19 | int main() 20 | { 21 | MySequence seq{}; 22 | // Pass a type that does not model the Sequence concept. 23 | // Reason: sequence_traits specialisation is missing a lot of stuff. 24 | auto const view = boost::static_views::raw_view(seq); 25 | } 26 | -------------------------------------------------------------------------------- /test/correctness/raw_view_fail_3.cpp: -------------------------------------------------------------------------------- 1 | // Copyright Tom Westerhout 2017-2018. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include 7 | 8 | struct MySequence { 9 | }; 10 | 11 | namespace boost { 12 | namespace static_views { 13 | template <> 14 | struct sequence_traits { 15 | static auto at(MySequence const&, std::size_t) -> int; 16 | }; 17 | } // namespace static_views 18 | } // namespace boost 19 | 20 | int main() 21 | { 22 | MySequence seq{}; 23 | // Pass a type that does not model the Sequence concept. 24 | // Reason: `at` not noexcept. 25 | auto const view = boost::static_views::raw_view(seq); 26 | } 27 | -------------------------------------------------------------------------------- /test/correctness/raw_view_fail_4.cpp: -------------------------------------------------------------------------------- 1 | // Copyright Tom Westerhout 2017-2018. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include 7 | 8 | struct MySequence { 9 | }; 10 | 11 | namespace boost { 12 | namespace static_views { 13 | template <> 14 | struct sequence_traits { 15 | using index_type = std::size_t; 16 | using value_type = int; 17 | using reference = int; 18 | 19 | static auto at(MySequence const&, std::size_t) noexcept -> int; 20 | }; 21 | } // namespace static_views 22 | } // namespace boost 23 | 24 | int main() 25 | { 26 | MySequence seq{}; 27 | // Pass a type that does not model the Sequence concept. 28 | // Reason: no `size` function. 29 | auto const view = boost::static_views::raw_view(seq); 30 | } 31 | -------------------------------------------------------------------------------- /test/correctness/raw_view_fail_5.cpp: -------------------------------------------------------------------------------- 1 | // Copyright Tom Westerhout 2017-2018. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include 7 | 8 | struct MySequence { 9 | }; 10 | 11 | namespace boost { 12 | namespace static_views { 13 | template <> 14 | struct sequence_traits { 15 | using index_type = std::size_t; 16 | using value_type = int; 17 | using reference = int; 18 | 19 | static auto at(MySequence const&, std::size_t) noexcept -> int; 20 | static constexpr auto extent() noexcept -> std::ptrdiff_t 21 | { 22 | return 123; 23 | } 24 | }; 25 | } // namespace static_views 26 | } // namespace boost 27 | 28 | int main() 29 | { 30 | MySequence seq{}; 31 | // Pass a type that does not model the Sequence concept. 32 | // Reason: no `size` function. 33 | auto const view = boost::static_views::raw_view(seq); 34 | } 35 | -------------------------------------------------------------------------------- /test/correctness/raw_view_fail_6.cpp: -------------------------------------------------------------------------------- 1 | // Copyright Tom Westerhout 2017-2018. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include 7 | #include 8 | 9 | struct MySequence { 10 | }; 11 | 12 | namespace boost { 13 | namespace static_views { 14 | template <> 15 | struct sequence_traits { 16 | using size_type = std::size_t; 17 | using index_type = std::size_t; 18 | using value_type = int; 19 | using reference = int; 20 | 21 | static auto at(MySequence const&, std::size_t) -> int; 22 | static constexpr auto extent() noexcept -> std::ptrdiff_t 23 | { 24 | return 123; 25 | } 26 | static auto size(MySequence const&) noexcept -> std::string; 27 | }; 28 | } // namespace static_views 29 | } // namespace boost 30 | 31 | int main() 32 | { 33 | MySequence seq{}; 34 | // Pass a type that does not model the Sequence concept. 35 | // Reason: `size` function's return type is not convertible to 36 | // size_t. 37 | auto const view = boost::static_views::raw_view(seq); 38 | } 39 | -------------------------------------------------------------------------------- /test/correctness/raw_view_fail_7.cpp: -------------------------------------------------------------------------------- 1 | // Copyright Tom Westerhout 2017-2018. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include 7 | #include 8 | 9 | int main() 10 | { 11 | // Pass an rvalue in place of an lvalue. 12 | auto const view = boost::static_views::raw_view(std::array{4, 5}); 13 | } 14 | -------------------------------------------------------------------------------- /test/correctness/slice.cpp: -------------------------------------------------------------------------------- 1 | // Copyright Tom Westerhout 2018. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include "testing.hpp" 7 | #include 8 | #include 9 | #include 10 | 11 | auto test_make() 12 | { 13 | int xs_data[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; 14 | // ^^^^^^^ 15 | auto xs = boost::static_views::raw_view(xs_data); 16 | auto ys = boost::static_views::slice(xs, 3, 6); 17 | using ys_type = decltype(ys); 18 | BOOST_TEST_EQ(ys.size(), 3u); 19 | STATIC_ASSERT(boost::static_views::View, 20 | "ys does not model the View concept."); 21 | BOOST_TEST_TRAIT_TRUE((std::is_nothrow_copy_constructible)); 22 | BOOST_TEST_TRAIT_TRUE((std::is_nothrow_move_constructible)); 23 | BOOST_TEST_TRAIT_TRUE((std::is_nothrow_copy_assignable)); 24 | BOOST_TEST_TRAIT_TRUE((std::is_nothrow_move_assignable)); 25 | BOOST_TEST_EQ(ys[0], 4); 26 | BOOST_TEST_EQ(ys[2], 6); 27 | BOOST_TEST_THROWS(ys[3], boost::static_views::out_of_bound); 28 | } 29 | 30 | int main() 31 | { 32 | test_make(); 33 | return boost::report_errors(); 34 | } 35 | -------------------------------------------------------------------------------- /test/correctness/slice_fail_1.cpp: -------------------------------------------------------------------------------- 1 | // Copyright Tom Westerhout 2017. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include "../../include/boost/static_views/slice.hpp" 7 | 8 | int main() 9 | { 10 | int data[] = {1, 2, 3, 4, 5}; 11 | // Pass a type that does not model the View concept 12 | auto const view = boost::static_views::drop(2, 4)(data); 13 | } 14 | -------------------------------------------------------------------------------- /test/correctness/slice_fail_2.cpp: -------------------------------------------------------------------------------- 1 | // Copyright Tom Westerhout 2017. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include "../../include/boost/static_views/slice.hpp" 7 | 8 | int main() 9 | { 10 | // Pass wrong number of arguments 11 | auto const view = boost::static_views::slice(2); 12 | } 13 | -------------------------------------------------------------------------------- /test/correctness/take_fail_1.cpp: -------------------------------------------------------------------------------- 1 | // Copyright Tom Westerhout 2017-2018. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include 7 | 8 | int main() 9 | { 10 | int data[] = {1, 2, 3, 4, 5}; 11 | // Pass a type that does not model the View concept 12 | auto const view = boost::static_views::take_exactly(2u)(data); 13 | } 14 | -------------------------------------------------------------------------------- /test/correctness/take_fail_2.cpp: -------------------------------------------------------------------------------- 1 | // Copyright Tom Westerhout 2017. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include 7 | #include 8 | 9 | int main() 10 | { 11 | int data[] = {1, 2, 3, 4, 5}; 12 | // Out of bound errors should be caught at compile-time. 13 | auto const view = boost::static_views::take_exactly( 14 | std::integral_constant{})(boost::static_views::raw_view(data)); 15 | } 16 | -------------------------------------------------------------------------------- /test/headers/Jamfile.v2: -------------------------------------------------------------------------------- 1 | # Copyright Tom Westerhout 2017-2018. 2 | # Distributed under the Boost Software License, Version 1.0. 3 | # (See accompanying file LICENSE_1_0.txt or copy at 4 | # http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | import testing ; 7 | 8 | files = [ GLOB . : "*.cpp" ] ; 9 | 10 | for f in $(files) { 11 | compile $(f) ; 12 | } 13 | -------------------------------------------------------------------------------- /test/headers/algorithm_base.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() {} 4 | -------------------------------------------------------------------------------- /test/headers/compact_index.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() {} 4 | -------------------------------------------------------------------------------- /test/headers/concepts.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() {} 4 | -------------------------------------------------------------------------------- /test/headers/drop.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() {} 4 | -------------------------------------------------------------------------------- /test/headers/errors.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() {} 4 | -------------------------------------------------------------------------------- /test/headers/find_first.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(void) {} 4 | -------------------------------------------------------------------------------- /test/headers/hash_c.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() {} 4 | -------------------------------------------------------------------------------- /test/headers/hashed.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() {} 4 | -------------------------------------------------------------------------------- /test/headers/iterator.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() {} 4 | -------------------------------------------------------------------------------- /test/headers/pipe.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() {} 4 | -------------------------------------------------------------------------------- /test/headers/raw_view.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() {} 4 | -------------------------------------------------------------------------------- /test/headers/sequence_traits.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() {} 4 | -------------------------------------------------------------------------------- /test/headers/slice.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() {} 4 | -------------------------------------------------------------------------------- /test/headers/static_map.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() {} 4 | -------------------------------------------------------------------------------- /test/headers/take.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() {} 4 | -------------------------------------------------------------------------------- /test/headers/through.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() {} 4 | -------------------------------------------------------------------------------- /test/headers/utils.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(void) {} 4 | -------------------------------------------------------------------------------- /test/headers/view_base.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() {} 4 | -------------------------------------------------------------------------------- /test/headers/view_concept.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() {} 4 | --------------------------------------------------------------------------------