xtd 0.2.0
Loading...
Searching...
No Matches
iformatable.h
Go to the documentation of this file.
1
4#pragma once
5#define __XTD_CORE_INTERNAL__
7#undef __XTD_CORE_INTERNAL__
8#include "interface.h"
9#include "types.h"
10#include <locale>
11
13namespace xtd {
36 public:
38
44 virtual xtd::string to_string(const xtd::string& format, const std::locale& loc) const = 0;
46
47
49 std::string __opague_internal_formatable__(intptr, intptr, intptr, intptr) const;
51 };
52}
Contains string definitions.
Represents text as a sequence of character units.
Definition basic_string.h:79
Provides functionality to format the value of an object into a string representation.
Definition iformatable.h:35
virtual xtd::string to_string(const xtd::string &format, const std::locale &loc) const =0
Formats the value of the current instance using the specified format.
#define interface_
This keyword is use to represent an interface.
Definition interface.h:58
intmax_t intptr
Represent a pointer or a handle.
Definition intptr.h:23
Contains xtd::interface interface.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Contains xtd fundamental types.