RandomIterator
RandomIterator.h
Go to the documentation of this file.
1 /*----------------------------------------------------------------------------
2  *
3  * Copyright (C) 2021 Antonio Augusto Alves Junior
4  *
5  * This file is part of RandomIterator.
6  *
7  * RandomIterator is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * RandomIterator is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with RandomIterator. If not, see <http://www.gnu.org/licenses/>.
19  *
20  *---------------------------------------------------------------------------*/
21 
22 /*
23  * RandomIterator.h
24  *
25  * Created on: 21/02/2021
26  * Author: Antonio Augusto Alves Junior
27  */
28 
29 #pragma once
30 
31 // This is the only RandomIterator header that is guaranteed to
32 // change with every RandomIterator release.
33 //
34 // RandomIterator_VERSION % 100 is the sub-minor version
35 // RandomIterator_VERSION / 100 % 1000 is the minor version
36 // RandomIterator_VERSION / 100000 is the major version
37 //
38 // Because this header does not #include <RandomIterator/detail/Config.h>,
39 // it is the only RandomIterator header that does not cause
40 // RandomIterator_HOST_SYSTEM and RandomIterator_DEVICE_SYSTEM to be defined.
41 
50 #define RandomIterator_VERSION 100001
51 
52 
57 #define RandomIterator_MAJOR_VERSION (RandomIterator_VERSION / 100000)
58 
63 #define RandomIterator_MINOR_VERSION (RandomIterator_VERSION / 100 % 1000)
64 
69 #define RandomIterator_PATCH_NUMBER 0
70 
71 
72 
73 // Declare these namespaces here for the purpose of Doxygenating them
74 
79 namespace random_iterator{ }
80 
81 
random_iterator is the top-level namespace which contains all RandomIterator functions and types...