xtd 0.2.0
Loading...
Searching...
No Matches
formatable.hpp
Go to the documentation of this file.
1
4#pragma once
6#include "iformatable.hpp"
7#include <type_traits>
8
10namespace xtd {
28 template<class value_t>
29 concept formatable = std::derived_from<std::remove_cvref_t<value_t>, xtd::iformatable> || xtd::stream_insertable<std::remove_cvref_t<value_t>>;
30}
Provides functionality to format the value of an object into a string representation.
Definition iformatable.hpp:42
Concept formatable.
Definition formatable.hpp:29
Concept stream_insertable.
Definition stream_insertable.hpp:26
Contains xtd::iformatable interface.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::stream_insertable concept.