HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
print_intf.hpp
1// Copyright Take Vos 2021.
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5#pragma once
6
7#include "../macros.hpp"
8#include <string_view>
9#include <iostream>
10#include <format>
11
12hi_export_module(hikogui.console.print : intf);
13
14namespace hi { inline namespace v1 {
15
23hi_export template<typename... Args>
24void print(std::format_string<Args...> fmt, Args&&... args) noexcept;
25
33hi_export template<typename... Args>
34void println(std::format_string<Args...> fmt, Args&&... args) noexcept;
35
36
37}} // namespace hi::inline v1
38
DOXYGEN BUG.
Definition algorithm.hpp:16
geometry/margins.hpp
Definition lookahead_iterator.hpp:5
hi_export void println(std::format_string< Args... > fmt, Args &&... args) noexcept
Output a line of text to the console.
hi_export void print(std::format_string< Args... > fmt, Args &&... args) noexcept
Output text to the console.
constexpr Out narrow_cast(In const &rhs) noexcept
Cast numeric values without loss of precision.
Definition cast.hpp:377