MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches

#include <mim/plugin.h>

Public Member Functions

constexpr auto operator<=> (const Version &other) const noexcept
 Compares major/minor/suffix, ignores hash.
constexpr bool operator== (const Version &other) const noexcept
 Compares major/minor/suffix, ignores hash.

Public Attributes

int major
int minor
const char * suffix
const char * hash

Friends

std::ostream & operator<< (std::ostream &os, const Version &v)

Detailed Description

Definition at line 28 of file plugin.h.

Member Function Documentation

◆ operator<=>()

auto mim::Version::operator<=> ( const Version & other) const
inlineconstexprnoexcept

Compares major/minor/suffix, ignores hash.

Definition at line 35 of file plugin.h.

References major, minor, and suffix.

◆ operator==()

bool mim::Version::operator== ( const Version & other) const
inlineconstexprnoexcept

Compares major/minor/suffix, ignores hash.

Definition at line 43 of file plugin.h.

References major, minor, and suffix.

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
const Version & v )
friend

Definition at line 47 of file plugin.h.

References hash, major, minor, and suffix.

Member Data Documentation

◆ hash

const char* mim::Version::hash

Definition at line 32 of file plugin.h.

Referenced by operator<<.

◆ major

int mim::Version::major

Definition at line 29 of file plugin.h.

Referenced by operator<<, operator<=>(), and operator==().

◆ minor

int mim::Version::minor

Definition at line 30 of file plugin.h.

Referenced by operator<<, operator<=>(), and operator==().

◆ suffix

const char* mim::Version::suffix

Definition at line 31 of file plugin.h.

Referenced by operator<<, operator<=>(), and operator==().


The documentation for this struct was generated from the following file: