microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
semver.hpp File Reference

Semantic-version parsing and formatting types. More...

#include "../microfmt.hpp"
#include <cstdint>
#include <reloco/type_id.hpp>
#include <string_view>
#include "semver.ipp"
Include dependency graph for semver.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  microfmt::semver
 
struct  microfmt::formatter< semver >
 

Namespaces

namespace  microfmt
 

Functions

constexpr semver microfmt::version (uint16_t major, uint16_t minor, uint16_t patch, microfmt::string_view prerelease="", microfmt::string_view build="", bool show_v=false) noexcept
 
constexpr semver microfmt::from_packed32 (uint32_t packed, bool show_v=false) noexcept
 
constexpr semver microfmt::from_packed24 (uint32_t packed, bool show_v=false) noexcept
 
 RELOCO_TYPE_ID_NAME (microfmt::semver, "microfmt::semver")
 

Detailed Description

Semantic-version parsing and formatting types.

Function Documentation

◆ RELOCO_TYPE_ID_NAME()

RELOCO_TYPE_ID_NAME ( microfmt::semver  ,
"microfmt::semver"   
)