xtd 0.2.0
Loading...
Searching...
No Matches
box_.hpp
Go to the documentation of this file.
1
4#pragma once
6#if !defined(__XTD_BOX_INTERNAL__)
7#error "Do not include this file: Internal use only. Include <xtd/box> or <xtd/box.hpp> instead."
8#endif
10
12#include "box.hpp"
13
15template<class type_t>
17template<class type_t>
19
20template<class type_t>
22 return xtd::string::format(culture, xtd::string::format("{{:{}}}", format), value);
23}
24// @endcond
Contains xtd::box struct.
Provides information about a specific culture (called a locale for unmanaged code development)....
Definition culture_info.hpp:43
static culture_info current_culture() noexcept
Gets the xtd::globalization::culture_info object that represents the culture used by the current appl...
Contains xtd::globalization::culture_info class.
static basic_string format(const basic_string< char > &fmt, args_t &&... args)
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
string to_string() const noexcept override
Returns the string representation of this xtd::read_only_span <type_t> object.
Definition read_only_span.hpp:375
xtd::string to_string() const noexcept override
Returns a xtd::string that represents the current object.