source: libcfa/src/algorithms/range_iterator.hfa @ 8157bde

ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
Last change on this file since 8157bde was 8157bde, checked in by Thierry Delisle <tdelisle@…>, 2 years ago

Pushing to get off jax

  • Property mode set to 100644
File size: 584 bytes
Line 
1//
2// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// range_iterator.hfa --
8//
9// Author           : Thierry Delisle
10// Created On       : Tue Nov 30 13:06:22 2021
11// Last Modified By :
12// Last Modified On :
13// Update Count     :
14//
15
16generator RangeIter {
17        const char * text;
18        int com;
19        int
20};
21
22void ?{}(RangeIter & this, const char * text) {
23        this.text = text;
24}
25
26static inline bool next(RangeIter & this) { return resume(this).com > 0; }
Note: See TracBrowser for help on using the repository browser.