Skip to content

Commit

Permalink
Deploying to gh-pages from @ e303d76 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
huixie90 committed May 24, 2024
1 parent d14a6e7 commit 7507329
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ cxx-bucket-vs*/
.vs/
.vscode/
.cache/
generated/
out/
.gdb_history
build-*
Expand Down
11 changes: 11 additions & 0 deletions any_view.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,17 @@ considered.
Here is the type declaration

```cpp
enum class category
{
none = 0,
input = 1,
forward = 3,
bidirectional = 7,
random_access = 15,
mask = random_access,
sized = 16,
};

template<typename Ref, category Cat = category::input>
struct any_view;
```
Expand Down
15 changes: 13 additions & 2 deletions generated/any_view.html
Original file line number Diff line number Diff line change
Expand Up @@ -626,8 +626,19 @@ <h3 data-number="4.1.1" id="boost.range-boostrangesany_range"><span class="heade
<h3 data-number="4.1.2" id="range-v3-rangesviewsany_view"><span class="header-section-number">4.1.2</span> range-v3
<code class="sourceCode default">ranges::views::any_view</code><a href="#range-v3-rangesviewsany_view" class="self-link"></a></h3>
<p>Here is the type declaration</p>
<div class="sourceCode" id="cb4"><pre class="sourceCode cpp"><code class="sourceCode cpp"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="kw">template</span><span class="op">&lt;</span><span class="kw">typename</span> Ref, category Cat <span class="op">=</span> category<span class="op">::</span>input<span class="op">&gt;</span></span>
<span id="cb4-2"><a href="#cb4-2" aria-hidden="true" tabindex="-1"></a><span class="kw">struct</span> any_view;</span></code></pre></div>
<div class="sourceCode" id="cb4"><pre class="sourceCode cpp"><code class="sourceCode cpp"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="kw">enum</span> <span class="kw">class</span> category</span>
<span id="cb4-2"><a href="#cb4-2" aria-hidden="true" tabindex="-1"></a><span class="op">{</span></span>
<span id="cb4-3"><a href="#cb4-3" aria-hidden="true" tabindex="-1"></a> none <span class="op">=</span> <span class="dv">0</span>,</span>
<span id="cb4-4"><a href="#cb4-4" aria-hidden="true" tabindex="-1"></a> input <span class="op">=</span> <span class="dv">1</span>,</span>
<span id="cb4-5"><a href="#cb4-5" aria-hidden="true" tabindex="-1"></a> forward <span class="op">=</span> <span class="dv">3</span>,</span>
<span id="cb4-6"><a href="#cb4-6" aria-hidden="true" tabindex="-1"></a> bidirectional <span class="op">=</span> <span class="dv">7</span>,</span>
<span id="cb4-7"><a href="#cb4-7" aria-hidden="true" tabindex="-1"></a> random_access <span class="op">=</span> <span class="dv">15</span>,</span>
<span id="cb4-8"><a href="#cb4-8" aria-hidden="true" tabindex="-1"></a> mask <span class="op">=</span> random_access,</span>
<span id="cb4-9"><a href="#cb4-9" aria-hidden="true" tabindex="-1"></a> sized <span class="op">=</span> <span class="dv">16</span>,</span>
<span id="cb4-10"><a href="#cb4-10" aria-hidden="true" tabindex="-1"></a><span class="op">}</span>;</span>
<span id="cb4-11"><a href="#cb4-11" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb4-12"><a href="#cb4-12" aria-hidden="true" tabindex="-1"></a><span class="kw">template</span><span class="op">&lt;</span><span class="kw">typename</span> Ref, category Cat <span class="op">=</span> category<span class="op">::</span>input<span class="op">&gt;</span></span>
<span id="cb4-13"><a href="#cb4-13" aria-hidden="true" tabindex="-1"></a><span class="kw">struct</span> any_view;</span></code></pre></div>
<p>Here <code class="sourceCode default">Cat</code> handles both the
traversal category and
<code class="sourceCode default">sized_range</code>.
Expand Down

0 comments on commit 7507329

Please sign in to comment.