ROSE  0.11.145.0
Constants.h
1 // This file defines constants, flags, etc. that are so useful that they're at the very top
2 // "Rose" namespace, and included in all user code via #include <rose.h>.
3 //
4 // Do not put #define constants in this file unless they follow the proper ROSE naming scheme.
5 //
6 #ifndef ROSE_Constants_H
7 #define ROSE_Constants_H
8 
9 #include <rosedll.h>
10 #include <cstddef>
11 
12 namespace Rose {
13 
18 const size_t UNLIMITED(static_cast<size_t>(-1));
19 
24 const size_t INVALID_INDEX(static_cast<size_t>(-1));
25 
26 } // namespace
27 #endif
Main namespace for the ROSE library.
const size_t UNLIMITED(static_cast< size_t >(-1))
Effictively unlimited size.
const size_t INVALID_INDEX(static_cast< size_t >(-1))
Invalid array index.