|
Bash++
Bash++ compiler internal documentation
|
Represents a Bash version to target for code generation. More...
#include <BashVersion.h>
Public Member Functions | |
| operator uint32_t () const | |
| bool | operator>= (const BashVersion &other) const |
| bool | operator<= (const BashVersion &other) const |
| bool | operator> (const BashVersion &other) const |
| bool | operator< (const BashVersion &other) const |
| bool | operator== (const BashVersion &other) const |
| bool | operator!= (const BashVersion &other) const |
| std::string | to_string () const |
| operator std::string () const | |
Public Attributes | |
| uint16_t | major = 5 |
| uint16_t | minor = 2 |
Represents a Bash version to target for code generation.
Copyright (C) 2025 Andrew S. Rightenburg Bash++: Bash with classes
This struct is used to specify the target Bash version for code generation. It is represented as a single unsigned 32-bit integer for efficient comparison. The high 16 bits represent the major version, and the low 16 bits represent the minor version.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| uint16_t BashVersion::major = 5 |
| uint16_t BashVersion::minor = 2 |