Iros
Loading...
Searching...
No Matches
fixed_span.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
di/types/prelude.h
"
4
#include "
di/vocab/span/span_fixed_size.h
"
5
6
namespace
di::vocab
{
7
template
<
size_t
count,
typename
T>
8
constexpr
auto
fixed_span
(T* value) ->
Span<T, count>
{
9
return
Span<T, count>
(value,
count
);
10
}
11
}
12
13
namespace
di
{
14
using
vocab::fixed_span
;
15
}
di::vocab::Span
Definition
span_forward_declaration.h:10
prelude.h
di::vocab
Definition
lazy.h:165
di::vocab::Span
Span(Iter, SentOrSize) -> Span< meta::RemoveReference< meta::IteratorReference< Iter > > >
di::vocab::fixed_span
constexpr auto fixed_span(T *value) -> Span< T, count >
Definition
fixed_span.h:8
di
Definition
zstring_parser.h:9
di::count
constexpr auto count
Definition
count.h:37
span_fixed_size.h
libs
di
include
di
vocab
span
fixed_span.h
Generated by
1.13.0