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
21#pragma once
22
23#include <format>
24#include <string>
25
26#define PACS_HAS_STD_FORMAT 1
27
29 using std::format;
30 template <typename... Args>
31 using format_string = std::format_string<Args...>;
32}
33
34// Convenience macro for simple string concatenation (no formatting needed)
35// Use when you just need to build error messages without {} placeholders
36#define PACS_CONCAT(...) (std::string() + __VA_ARGS__)
std::format_string< Args... > format_string
Definition format.h:31