PACS System
0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
format.h
Go to the documentation of this file.
1
// BSD 3-Clause License
2
// Copyright (c) 2021-2025, 🍀☀🌕🌥 🌊
3
// See the LICENSE file in the project root for full license information.
4
23
#pragma once
24
25
#include <format>
26
#include <string>
27
28
#define PACS_HAS_STD_FORMAT 1
29
30
namespace
kcenon::pacs::compat
{
31
using
std::format;
32
template
<
typename
... Args>
33
using
format_string
= std::format_string<Args...>;
34
}
35
36
// Convenience macro for simple string concatenation (no formatting needed)
37
// Use when you just need to build error messages without {} placeholders
38
#define PACS_CONCAT(...) (std::string() + __VA_ARGS__)
kcenon::pacs::compat
Definition
factory_result.h:11
kcenon::pacs::compat::format_string
std::format_string< Args... > format_string
Definition
format.h:33
include
kcenon
pacs
compat
format.h
Generated by
1.12.0