acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
null_terminated_iterator.h
1
// Created by camilo on 2022-12-07 23:44 <3ThomasBorregaardSorensen!!
2
#pragma once
3
4
5
6
template
<
typename
ITERATOR_TYPE >
7
class
null_terminated_iterator
:
8
public
ITERATOR_TYPE
9
{
10
public
:
11
12
13
using
ITERATOR = ITERATOR_TYPE;
14
15
using
ITEM =
typename
ITERATOR::ITEM;
16
using
ITERATOR_ITEM_TYPE =
typename
ITERATOR::ITERATOR_ITEM_TYPE;
17
18
19
using
ITERATOR_TYPE::ITERATOR_TYPE;
20
21
22
consteval
bool
is_null_terminated()
const
{
return
true
; }
23
24
25
};
26
27
28
null_terminated_iterator
Definition
null_terminated_iterator.h:9
prototype
collection
null_terminated_iterator.h
Generated by
1.17.0