xtd 0.2.0
xtd Namespace Reference

Definition

The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.

Todo
remove when sorted_dictionay is developped.
Todo
remove when sorted_dictionay is developped.
Todo
to remove
Todo
to remove
Todo
to remove

Namespaces

namespace  collections
 The xtd::collections namespace contains interfaces and classes that define various collections of objects, such as lists, queues, bit arrays, hash tables and dictionaries.
 
namespace  configuration
 Contains the types that provide the programming model for handling configuration data.
 
namespace  diagnostics
 The xtd::diagnostics namespace provides classes that allow you to interact with system processes, event logs, and performance counters.
 
namespace  drawing
 The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functionality is provided in the xtd::drawing::drawing_2d, xtd::drawing::imaging, and xtd::drawing::text namespaces.
 
namespace  extensions
 The xtd::extensions namespace contains interface extensions.
 
namespace  forms
 The xtd::forms namespace contains classes for creating Windows-based applications that take full advantage of the rich user interface features available in the Microsoft Windows operating system, Apple macOS and Linux like Ubuntu operating system.
 
namespace  helpers
 The xtd::helpers namespace contains helpers for xtd objects, sush as exception static class.
 
namespace  io
 The xtd::io namespace contains types that allow reading and writing to files and data streams, and types that provide basic file and directory support.
 
namespace  linq
 Provides classes and interfaces that support queries that use Language-Integrated Query (LINQ).
 
namespace  linux
 The xtd::linux namespaces including animation clients, user interface controls, data binding, and type conversion. xtd::linux::forms and its child namespaces are used for developing Linux Forms (LinForms) applications.
 
namespace  literals
 The xtd::literals namespace contains all xtd's litterals operators.
 
namespace  macos
 The xtd::macos namespaces including animation clients, user interface controls, data binding, and type conversion. xtd::macos::forms and its child namespaces are used for developing macOS Forms (MacForms) applications.
 
namespace  media
 The xtd::media namespace contains classes for playing sound files and accessing sounds provided by the system.
 
namespace  net
 The xtd::net namespace provides a simple programming interface for many of the protocols used on networks today. The xtd::net::web_request and xtd::net::web_response classes form the basis of what are called pluggable protocols, an implementation of network services that enables you to develop applications that use Internet resources without worrying about the specific details of the individual protocols.
 
namespace  reflection
 The xtd::reflection namespace contains types that retrieve information about assemblies, modules, members, parameters, and other entities in managed code by examining their metadata. These types also can be used to manipulate instances of loaded types, for example to hook up events or to invoke methods. To dynamically create types, use the System.Reflection.Emit namespace.
 
namespace  runtime
 Contains advanced types that support diverse namespaces such as the xtd, runtime, and the security namespaces.
 
namespace  security
 Provides the underlying structure of the security system, including base classes for permissions.
 
namespace  speech
 The xtd::speech namespace contains all classes and namespace to access speech technology.
 
namespace  text
 Contains classes that represent ASCII and Unicode character encodings; abstract base classes for converting blocks of characters to and from blocks of bytes; and a helper class that manipulates and formats xtd::string objects without creating intermediate instances of xtd::string.
 
namespace  threading
 The xtd::threading namespace provides classes and interfaces that enable multithreaded programming. In addition to classes for synchronizing thread activities and access to data ( xtd::threading::mutex, xtd::threading::monitor, xtd::threading::interlocked, xtd::threading::auto_reset_event, and so on), this namespace includes a xtd::threading::thread_pool class that allows you to use a pool of system-supplied threads, and a xtd::threading::timer class that executes callback methods on thread pool threads.
 
namespace  timers
 Provides the xtd::timers::timer component, which allows you to raise an event on a specified interval.
 
namespace  tunit
 The tunit namespace contains a unit test library.
 
namespace  web
 Contains classes and interfaces that enable browser-server communication. This namespace includes the http_request class, which provides extensive information about the current HTTP request; the http_response class, which manages HTTP output to the client; and the http_server_utility class, which provides access to server-side utilities and processes. xtd::web also includes classes for cookie manipulation, file transfer, exception information, and output cache control.
 
namespace  windows
 The xtd::windows namespaces including animation clients, user interface controls, data binding, and type conversion. xtd::windows::forms and its child namespaces are used for developing Windows Forms (WinForms) applications.
 

Classes

class  abstract_object
 Represent an abstract class. More...
 
class  access_violation_exception
 The exception that is thrown when a method call is invalid for the object's current state. More...
 
class  any_object
 Represent a polymorphic wrapper capable of holding any type. More...
 
class  argument_exception
 The exception that is thrown when one of the arguments provided to a method is not valid. More...
 
class  argument_null_exception
 The exception that is thrown when one of the arguments provided to a method is null. More...
 
class  argument_out_of_range_exception
 The exception that is thrown when one of the arguments provided to a method is out of range. More...
 
class  arithmetic_exception
 The exception that is thrown for errors in an arithmetic, casting, or conversion operation. More...
 
class  array
 Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the base class for all arrays. More...
 
class  array< type_t, 1, allocator_t >
 Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the base class for all arrays. More...
 
class  array< type_t, 2, allocator_t >
 Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the base class for all arrays. More...
 
class  array< type_t, 3, allocator_t >
 Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the base class for all arrays. More...
 
class  array<>
 Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the base class for all arrays. More...
 
class  array_abstract_object
 Abstract object that represent array. More...
 
class  attribute
 Represents the base class for custom attributes. More...
 
class  background_color
 Represent background color output manipulator class. More...
 
class  basic_array
 Base object that represent array. More...
 
class  basic_string
 Represents text as a sequence of character units. More...
 
class  basic_string_comparer
 Represents a string comparison operation that uses specific case and culture-based or ordinal comparison rules. More...
 
class  beep
 Represent beep output manipulator class. More...
 
class  bit_converter
 Converts base data types to an xtd::array of bytes, and an xtd::array of bytes to base data types. More...
 
struct  box
 Represents a boxed object. More...
 
class  box_char
 Represents a boxed char object. More...
 
class  box_floating_point
 Represents a boxed floating point object. More...
 
class  box_integer
 Represents a boxed integer object. More...
 
struct  call_once
 The xtd::call_once struct can be used to execute a routine exactly once. This can be used to initialise data in a thread-safe way. More...
 
class  compiler
 Represents information about c++ libraries, such as the version and standard identifier. This class cannot be inherited. More...
 
class  console
 Represents the standard input, output, and error streams for console applications. More...
 
class  console_cancel_event_args
 Provides data for the console::cancel_key_press event. This class cannot be inherited. More...
 
class  console_key_info
 Specifies the standard keys on a console. More...
 
struct  const_overload
 Represents class that use to determine one of const overloaded methods. More...
 
class  convert
 Represents API to convert base type code. More...
 
class  convert_pointer
 Represents API to convert pointers. More...
 
class  convert_string
 Represents API to convert string containers. More...
 
class  cpp_language
 Represents information about c++ libraries, such as the version and language identifier. This class cannot be inherited. More...
 
class  date_time
 Represents an instant in time, typically expressed as a date and time of day. More...
 
class  debugstreambuf
 Provides an std::stringbuf for xtd::diagnostics::debug. More...
 
class  delegate< result_t(arguments_t...)>
 Represents a delegate, which is a data structure that refers to a static method or to a class instance && an instance method of that class. More...
 
class  distribution
 Represents information about an operating system distribution, such as the version and name. This class cannot be inherited. More...
 
class  divided_by_zero_exception
 The exception that is thrown when there is an attempt to divide an integral or decimal value by zero. More...
 
class  domain_exception
 The exception that is thrown for errors in domain. That is, situations where the inputs are outside of the domain on which an operation is defined.. More...
 
struct  enum_object
 Provides the base class for enumerations. More...
 
struct  enum_register
 Provides the registration struct for enumerations. More...
 
struct  enum_set_attribute
 Provides the set attribute struct for enumerations. More...
 
class  environment
 The environment class. More...
 
class  event
 Represents an event. More...
 
class  event_args
 Represents the base class for classes that contain event data, and provides a value to use for events that do not include event data. More...
 
class  exception
 Defines the base class for predefined exceptions in the xtd namespace. More...
 
class  fixed_array
 Represents a fixed array class. More...
 
class  foreground_color
 Represent foreground color output manipulator class. More...
 
class  format_exception
 The exception that is thrown when the format of an argument does not meet the parameter specifications of the invoked method. More...
 
struct  formatter
 Provides the base class to format any object. More...
 
class  guid
 Represents a globally unique identifier (GUID). A GUID is a 128-bit integer (16 bytes) that can be used across all computers and networks wherever a unique identifier is required. Such an identifier has a very low probability of being duplicated. More...
 
class  h_result
 Contains the HRESULT values used by xtd. More...
 
class  hash_code
 Combines the hash code for multiple values into a single hash code. More...
 
class  iasync_result
 Represents the status of an asynchronous operation. More...
 
class  iclonable
 Supports cloning, which creates a new instance of a class with the same value as an existing instance. More...
 
class  icomparable
 Defines a generalized comparison method that a value type or class implements to create a type-specific comparison method. More...
 
class  iequatable
 Defines a generalized method that a value type or class implements to create a type-specific method for determining equality of instances. More...
 
class  iformatable
 Provides functionality to format the value of an object into a string representation. More...
 
class  ihashable
 Defines a generalized method that a value type or class implements to create a type-specific method for determining equality of instances. More...
 
class  index_out_of_range_exception
 The exception that is thrown when an attempt is made to access an element of an array with an index that is outside the bounds of the array. More...
 
class  interface
 Represent an interface class. More...
 
class  interrupt_exception
 The exception that is thrown when a method call is invalid for the object's current state. More...
 
class  invalid_cast_exception
 The exception that is thrown for invalid casting or explicit conversion. More...
 
class  invalid_operation_exception
 The exception that is thrown when the format of an argument does not meet the parameter specifications of the invoked method. More...
 
class  invalid_program_exception
 The exception that is thrown when a program contains invalid metadata. Generally this indicates a bug in the compiler that generated the program. More...
 
class  iobservable
 Provides a mechanism for receiving push-based notifications. More...
 
class  iobserver
 Provides a mechanism for receiving push-based notifications. More...
 
class  iprogress
 Defines a provider for progress updates. More...
 
class  istringable
 Provides a way to represent the current object as a string. More...
 
class  isynchronize_invoke
 Provides a way to synchronously or asynchronously execute a delegate. More...
 
class  length_exception
 The exception that is thrown when an attempts to exceed implementation defined length limits for some object. More...
 
class  math
 Provides constants and static methods for trigonometric, logarithmic, and other common mathematical functions. More...
 
class  memory_information
 Represents information about the memory. This class is static. More...
 
struct  non_const_overload
 Represents class that use to determine one of non const overloaded methods. More...
 
class  not_finite_number_exception
 The exception that is thrown when a floating-point value is positive infinity, negative infinity, or Not-a-Number (NaN). More...
 
class  not_implemented_exception
 The exception that is thrown when a requested method or operation is not implemented. More...
 
class  not_supported_exception
 The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. More...
 
class  null_pointer_exception
 The exception that is thrown when there is an attempt to dereference a null object pointer. More...
 
class  object
 Supports all classes in the xtd class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all classes in the xtd. It is the root of the type hierarchy. More...
 
class  object_closed_exception
 The exception that is thrown when one of the arguments provided to a method is not valid. More...
 
class  operating_system
 Represents information about an operating system, such as the version and platform identifier. This class cannot be inherited. More...
 
class  operation_canceled_exception
 The exception that is thrown in a thread upon cancellation of an operation that the thread was executing. More...
 
class  out_of_memory_exception
 The exception that is thrown when one of the arguments provided to a method is not valid. More...
 
class  overflow_exception
 The exception that is thrown when an arithmetic, casting, or conversion operation in a checked context results in an overflow. More...
 
struct  overload
 Represents class that use to determine one of const and non const overloaded methods. More...
 
class  platform_not_supported_exception
 The exception that is thrown when a feature does not run on a particular platform. More...
 
class  processor
 Represents information about a processor, such as the architecture. This class cannot be inherited. More...
 
class  program_exit_event_args
 Provides data for the environment program exit event. This class cannot be inherited. More...
 
class  random
 Represents a pseudo-random number generator, a device that produces a sequence of numbers that meet certain statistical requirements for randomness. More...
 
class  rank_exception
 The exception that is thrown when an array with the wrong number of dimensions is passed to a method. More...
 
class  reference_wrapper_object
 The xtd::reference_wrapper_object is a reference wrapper as std::reference_wrapper. More...
 
class  reset_color
 Represent reset color output manipulator class. More...
 
struct  scope_exit
 Nowadays, every C++ developer is familiar with the Resource Acquisition Is Initialization (RAII) technique. It binds resource acquisition and release to initialization and destruction of a variable that holds the resource. There are times when writing a special class for such a variable is not worth the effort. This is when xtd xtd::scope_exit comes into play. More...
 
class  signal_cancel_event_args
 Provides data for the environment signal event. This class cannot be inherited. More...
 
class  software_termination_exception
 The exception that is thrown when a method call is invalid for the object's current state. More...
 
class  span
 Represents a non-owning view over a contiguous sequence of objects. More...
 
class  startup
 Defines the xtd::startup object that can be used in the main method to safely call the application's main entry point. More...
 
class  static_object
 Represent a static object. A static class can't be instantiated (constructors are deleted). More...
 
class  system_exception
 The exception that is thrown when a method call is invalid for the object's current state. More...
 
class  system_report
 Provides system report about the current system environment. More...
 
class  target_type
 Represents information about target type, such as the target identifier. This class cannot be inherited. More...
 
class  time_span
 Represents a time interval. More...
 
class  time_zone_info
 Represents any time zone in the world. More...
 
class  time_zone_not_found_exception
 The exception that is thrown when the time allotted for a process or operation has expired. More...
 
class  timeout_exception
 The exception that is thrown when the time allotted for a process or operation has expired. More...
 
class  toolkit
 Represents a toolkit. More...
 
class  tracestreambuf
 Provides an std::stringbuf for xtd::diagnostics::trace. More...
 
class  translator
 Represents translator class. This class cannot be inherited. More...
 
class  type_object
 Represents type declarations: class types, interface types, array types, value types, enumeration types, type parameters, generic type definitions, and open or closed constructed generic types. More...
 
class  unauthorized_access_exception
 The exception that is thrown when the operating system denies access because of an I/O error or a specific type of security error. More...
 
class  underflow_exception
 The exception that is thrown when an arithmetic, casting, or conversion operation in a checked context results in an underflow. More...
 
class  uri
 Provides an object representation of a uniform resource identifier (URI) and easy access to the parts of the URI. More...
 
class  uri_format_exception
 The exception that is thrown when an invalid Uniform Resource Identifier (URI) is detected. More...
 
class  uri_template_match_exception
 Represents an error when matching a Uri to a UriTemplateTable. More...
 
class  version
 Represents the version number of an assembly, operating system, or the xtd. This class cannot be inherited. More...
 
class  xml_syntax_exception
 The exception that is thrown when there is a syntax error in XML parsing. More...
 

Alias

template<class ... arguments_t>
using action
 Represents a xtd::delegate that has variable parameters and does not return a value.
 
using any
 Represents the any alias on std::any.
 
using argument_collection
 Represents the collection of arguments passed to the main entry point method.
 
using async_result
 Represents the status of an asynchronous operation.
 
template<class type_t>
using comparison
 Represents the method that compares two objects of the same type.
 
using console_cancel_event_handler
 Represents the method that will handle the cancel_key_press event of a xtd::console.
 
using const_object_ref
 Represents an object reference.
 
template<class output_t, class input_t>
using converter
 Represents a method that converts an object from one type to another type.
 
using async_callback
 References a method to be called when a corresponding asynchronous operation completes.
 
template<class enum_t>
using enum_collection
 Represents a pair of an enum_t value and a string of an enum of type enum_t.
 
using event_handler
 Represents the method that will handle an event that has no event data.
 
template<class result_t, class ... arguments_t>
using func
 Represents a delegate that has variables parameters and returns a value of the type specified by the result_t type.
 
template<class event_args_t>
using generic_event_handler
 Represents the method that will handle an event when the event provides data.
 
using string
 Represents text as a sequence of UTF-8 code units.
 
using u16string
 Represents text as a sequence of UTF-16 code units.
 
using u32string
 Represents text as a sequence of UTF-32 code units.
 
using u8string
 Represents text as a sequence of UTF-8 code units.
 
using wstring
 Represents text as a sequence of UTF-16 code unit on Windows or UTF-32 code unit on non-Windows systems.
 
using lock
 Provides a mechanism that synchronizes access to objects with xtd::threading::monitor.
 
using null_opt
 Represents the null_opt alias on std::nullopt_t.
 
using null_ptr
 Represents the null_opt alias on std::nullptr_t.
 
using object_ref
 Represents an object reference.
 
template<class type_t>
using optional
 Represents the optional alias on std::optional.
 
template<class type_t>
using predicate
 Represents a delegate that defines a set of criteria and determines whether the specified object meets those criteria.
 
using program_exit_event_handler
 Represents the method that will handle the program exit events of a xtd::environment.
 
using signal_cancel_event_handler
 Represents the method that will handle the signal events of a xtd::environment.
 
using ustring
 Represents text as a sequence of UTF-8 code units.
 

Enumerations

enum class  architecture_id {
  architecture_id::unknown ,
  architecture_id::x86 ,
  architecture_id::arm
}
 Identifies the processor architecture, supported by an assembly. More...
 
enum class  build_type {
  build_type::debug ,
  build_type::release
}
 Identifies the build type. More...
 
enum class  compiler_id {
  compiler_id::unknown ,
  compiler_id::msvc ,
  compiler_id::clang ,
  compiler_id::gcc ,
  compiler_id::apple_clang ,
  compiler_id::microsoft_visual_studio
}
 Identifies the compiler, supported by an assembly. More...
 
enum class  console_color {
  console_color::default_color ,
  console_color::black ,
  console_color::dark_blue ,
  console_color::dark_green ,
  console_color::dark_cyan ,
  console_color::dark_red ,
  console_color::dark_magenta ,
  console_color::dark_yellow ,
  console_color::gray ,
  console_color::dark_gray ,
  console_color::blue ,
  console_color::green ,
  console_color::cyan ,
  console_color::red ,
  console_color::magenta ,
  console_color::yellow ,
  console_color::white
}
 Specifies constants that define foreground and background colors for the console. More...
 
enum class  console_key {
  console_key::backspace ,
  console_key::tab ,
  console_key::clear ,
  console_key::enter ,
  console_key::pause ,
  console_key::caps_lock ,
  console_key::escape ,
  console_key::spacebar ,
  console_key::page_up ,
  console_key::page_down ,
  console_key::end ,
  console_key::home ,
  console_key::left_arrow ,
  console_key::up_arrow ,
  console_key::right_arrow ,
  console_key::down_arrow ,
  console_key::select ,
  console_key::print ,
  console_key::execute ,
  console_key::print_screen ,
  console_key::insert ,
  console_key::del ,
  console_key::help ,
  console_key::d0 ,
  console_key::d1 ,
  console_key::d2 ,
  console_key::d3 ,
  console_key::d4 ,
  console_key::d5 ,
  console_key::d6 ,
  console_key::d7 ,
  console_key::d8 ,
  console_key::d9 ,
  console_key::a ,
  console_key::b ,
  console_key::c ,
  console_key::d ,
  console_key::e ,
  console_key::f ,
  console_key::g ,
  console_key::h ,
  console_key::i ,
  console_key::j ,
  console_key::k ,
  console_key::l ,
  console_key::m ,
  console_key::n ,
  console_key::o ,
  console_key::p ,
  console_key::q ,
  console_key::r ,
  console_key::s ,
  console_key::t ,
  console_key::u ,
  console_key::v ,
  console_key::w ,
  console_key::x ,
  console_key::y ,
  console_key::z ,
  console_key::left_windows ,
  console_key::right_windows ,
  console_key::applications ,
  console_key::sleep ,
  console_key::num_pad_0 ,
  console_key::num_pad_1 ,
  console_key::num_pad_2 ,
  console_key::num_pad_3 ,
  console_key::num_pad_4 ,
  console_key::num_pad_5 ,
  console_key::num_pad_6 ,
  console_key::num_pad_7 ,
  console_key::num_pad_8 ,
  console_key::num_pad_9 ,
  console_key::multiply ,
  console_key::add ,
  console_key::separator ,
  console_key::subtract ,
  console_key::decimal ,
  console_key::divide ,
  console_key::f1 ,
  console_key::f2 ,
  console_key::f3 ,
  console_key::f4 ,
  console_key::f5 ,
  console_key::f6 ,
  console_key::f7 ,
  console_key::f8 ,
  console_key::f9 ,
  console_key::f10 ,
  console_key::f11 ,
  console_key::f12 ,
  console_key::f13 ,
  console_key::f14 ,
  console_key::f15 ,
  console_key::f16 ,
  console_key::f17 ,
  console_key::f18 ,
  console_key::f19 ,
  console_key::f20 ,
  console_key::f21 ,
  console_key::f22 ,
  console_key::f23 ,
  console_key::f24 ,
  console_key::browser_back ,
  console_key::browser_forward ,
  console_key::browser_refresh ,
  console_key::browser_stop ,
  console_key::browser_search ,
  console_key::browser_favorites ,
  console_key::browser_home ,
  console_key::volume_mute ,
  console_key::volume_down ,
  console_key::volume_up ,
  console_key::media_next ,
  console_key::media_previous ,
  console_key::media_stop ,
  console_key::media_play ,
  console_key::launch_mail ,
  console_key::launch_media_select ,
  console_key::launch_app1 ,
  console_key::launch_app2 ,
  console_key::oem1 ,
  console_key::oem_plus ,
  console_key::oem_comma ,
  console_key::oem_minus ,
  console_key::oem_period ,
  console_key::oem2 ,
  console_key::oem3 ,
  console_key::oem4 ,
  console_key::oem5 ,
  console_key::oem6 ,
  console_key::oem7 ,
  console_key::oem8 ,
  console_key::oem102 ,
  console_key::process ,
  console_key::packet ,
  console_key::attention ,
  console_key::cr_sel ,
  console_key::ex_sel ,
  console_key::erase_end_of_file ,
  console_key::play ,
  console_key::zoom ,
  console_key::no_name ,
  console_key::pa1 ,
  console_key::oem_clear
}
 Specifies the standard keys on a console. More...
 
enum class  console_modifiers {
  console_modifiers::none ,
  console_modifiers::alt ,
  console_modifiers::shift ,
  console_modifiers::control
}
 Represents the SHIFT, ALT, and CTRL modifier keys on a keyboard. More...
 
enum class  console_special_key {
  console_special_key::control_break ,
  console_special_key::control_c ,
  console_special_key::control_backslash ,
  console_special_key::control_z
}
 Specifies combinations of modifier and console keys that can interrupt the current process. More...
 
enum class  date_time_kind {
  date_time_kind::unspecified ,
  date_time_kind::utc ,
  date_time_kind::local
}
 Specifies whether a DateTime object represents a local time, a Coordinated Universal Time (UTC), or is not specified as either local time or UTC. More...
 
enum class  day_of_week {
  day_of_week::sunday ,
  day_of_week::monday ,
  day_of_week::tuesday ,
  day_of_week::wednesday ,
  day_of_week::thursday ,
  day_of_week::friday ,
  day_of_week::saturday
}
 Specifies the day of the week. More...
 
enum class  enum_attribute {
  enum_attribute::standard ,
  enum_attribute::flags
}
 Specifies the enum attribute. More...
 
enum class  environment_variable_target {
  environment_variable_target::process ,
  environment_variable_target::user ,
  environment_variable_target::machine
}
 Specifies the location where an environment variable is stored or retrieved in a set or get operation. More...
 
enum class  exit_mode {
  exit_mode::normal ,
  exit_mode::quick
}
 Specifies exit mode for the xtd::environment::program_exit event. More...
 
enum class  exit_status {
  exit_status::success ,
  exit_status::failure
}
 Specifies exit status for the xtd::environment::exit method. More...
 
enum class  language_id {
  language_id::unknown ,
  language_id::cpp_pre98 ,
  language_id::cpp98 ,
  language_id::cpp11 ,
  language_id::cpp14 ,
  language_id::cpp17 ,
  language_id::cpp20 ,
  language_id::cpp23 ,
  language_id::cpp26 ,
  language_id::cpp29
}
 Identifies the c++ language used by assembly. More...
 
enum class  month_of_year {
  month_of_year::january ,
  month_of_year::february ,
  month_of_year::march ,
  month_of_year::april ,
  month_of_year::may ,
  month_of_year::june ,
  month_of_year::july ,
  month_of_year::august ,
  month_of_year::september ,
  month_of_year::october ,
  month_of_year::november ,
  month_of_year::december
}
 Specifies the month of the year. More...
 
enum class  number_styles {
  number_styles::none ,
  number_styles::allow_leading_white ,
  number_styles::allow_trailing_white ,
  number_styles::allow_leading_sign ,
  number_styles::allow_trailing_sign ,
  number_styles::allow_parentheses ,
  number_styles::allow_decimal_point ,
  number_styles::allow_thousands ,
  number_styles::allow_exponent ,
  number_styles::allow_currency_symbol ,
  number_styles::allow_hex_specifier ,
  number_styles::allow_binary_specifier ,
  number_styles::allow_octal_specifier ,
  number_styles::integer ,
  number_styles::number ,
  number_styles::fixed_point ,
  number_styles::currency ,
  number_styles::any ,
  number_styles::hex_number ,
  number_styles::binary_number ,
  number_styles::octal_number
}
 Determines the styles permitted in numeric string arguments that are passed to the xtd::parse and xtd::try_parse methods of the integral and floating-point numeric types. This enumeration has a flags attribute that allows a bitwise combination of its member values. More...
 
enum class  platform_id {
  platform_id::unknown ,
  platform_id::win32s ,
  platform_id::win32_windows ,
  platform_id::win32_nt ,
  platform_id::win_ce ,
  platform_id::unix ,
  platform_id::xbox ,
  platform_id::macos ,
  platform_id::ios ,
  platform_id::android ,
  platform_id::linux ,
  platform_id::tvos ,
  platform_id::watchos ,
  platform_id::free_bsd ,
  platform_id::haiku ,
  platform_id::aix ,
  platform_id::mingw ,
  platform_id::msys ,
  platform_id::posix ,
  platform_id::other
}
 Identifies the operating system, or platform, supported by an assembly. More...
 
enum class  signal {
  signal::abnormal_termination ,
  signal::floating_point_exception ,
  signal::illegal_instruction ,
  signal::interrupt ,
  signal::segmentation_violation ,
  signal::software_termination
}
 Specifies signals that can interrupt the current process. More...
 
enum class  string_comparison {
  string_comparison::current_culture ,
  string_comparison::current_culture_ignore_case ,
  string_comparison::invariant_culture ,
  string_comparison::invariant_culture_ignore_case ,
  string_comparison::ordinal ,
  string_comparison::ordinal_ignore_case
}
 Specifies the culture, case, and sort rules to be used by certain overloads of the xtd::string::compare method. More...
 
enum class  string_split_options {
  string_split_options::none ,
  string_split_options::remove_empty_entries
}
 Specifies whether applicable xtd::string::split method overloads include or omit empty substrings from the return value. More...
 
enum class  target_id {
  target_id::unknown ,
  target_id::console_application ,
  target_id::gui_application ,
  target_id::test_application ,
  target_id::interface_library ,
  target_id::module_library ,
  target_id::shared_library ,
  target_id::static_library ,
  target_id::custom_target
}
 Identifies the target, supported by an assembly. More...
 
enum class  uri_components {
  uri_components::none ,
  uri_components::scheme ,
  uri_components::user_info ,
  uri_components::host ,
  uri_components::port ,
  uri_components::path ,
  uri_components::query ,
  uri_components::fragment ,
  uri_components::strong_port ,
  uri_components::keep_delimiter ,
  uri_components::host_and_port ,
  uri_components::strong_authority ,
  uri_components::absolute_uri ,
  uri_components::path_and_query ,
  uri_components::http_request_url ,
  uri_components::scheme_and_server ,
  uri_components::serialization_info_string
}
 This enumeration has a Flags attribute that allows a bitwise combination of its member values. More...
 
enum class  uri_format {
  uri_format::safe_unescaped ,
  uri_format::unescaped ,
  uri_format::uri_escaped
}
 Controls how URI information is escaped. More...
 
enum class  uri_host_name_type {
  uri_host_name_type::unknown ,
  uri_host_name_type::basic ,
  uri_host_name_type::dns ,
  uri_host_name_type::ip_v4 ,
  uri_host_name_type::ip_v6
}
 Defines host name types for the xtd::uri::check_host_name method. More...
 
enum class  uri_kind {
  uri_kind::relative_or_absolute ,
  uri_kind::absolute ,
  uri_kind::relative
}
 Defines the kinds of Uris for the xtd::uri::is_well_formed_uri_string and several xtd::uri methods. More...
 
enum class  uri_partial {
  uri_partial::scheme ,
  uri_partial::authority ,
  uri_partial::path ,
  uri_partial::query
}
 Defines the parts of a URI for the xtd::uri::get_left_part method. More...
 

Functions

template<class type_t>
type_t any_cast (const xtd::any &operand)
 Performs type-safe access to the contained object.
 
template<class type_t>
type_t any_cast (xtd::any &operand)
 Performs type-safe access to the contained object.
 
template<class type_t>
type_t any_cast (xtd::any &&operand)
 Performs type-safe access to the contained object.
 
template<class type_t>
type_t * any_cast (xtd::any *operand)
 Performs type-safe access to the contained object.
 
template<class type_t>
type_t * any_cast (const xtd::any *operand)
 Performs type-safe access to the contained object.
 
template<class type_t>
constexpr std::add_const_t< type_t > & as_const (type_t &type) noexcept
 Obtains a reference to const to its argument.
 
std::ostream cnull (nullptr)
 Provides a null std::ostream.
 
template<class type_t>
reference_wrapper_object< const type_t > create_const_reference_wrapper_object (const type_t &arg) noexcept
 xtd::create_const_reference_wrapper_object operator. This operator creates a xtd::reference_wrapper_object object.
 
template<class type_t>
reference_wrapper_object< const type_t > create_const_reference_wrapper_object (reference_wrapper_object< type_t > arg) noexcept
 xtd::create_const_reference_wrapper_object operator. This operator creates a xtd::reference_wrapper_object object.
 
template<class type_t>
ref< const type_t > create_cref (const type_t &arg) noexcept
 xtd::new_uptr operator. This operator creates a xtd::ref object.
 
template<class type_t>
ref< const type_t > create_ref (ref< type_t > arg) noexcept
 xtd::new_uptr operator. This operator creates a xtd::ref object.
 
template<class type_t>
ref< type_t > create_ref (type_t &arg) noexcept
 xtd::new_uptr operator. This operator creates a xtd::ref object.
 
template<class type_t>
ref< type_t > create_ref (ref< type_t > arg) noexcept
 xtd::new_uptr operator. This operator creates a xtd::ref object.
 
template<class type_t>
reference_wrapper_object< type_t > create_reference_wrapper_object (type_t &arg) noexcept
 xtd::create_reference_wrapper_object operator. This operator creates a xtd::reference_wrapper_object object.
 
template<class type_t>
reference_wrapper_object< type_t > create_reference_wrapper_object (reference_wrapper_object< type_t > arg) noexcept
 xtd::create_reference_wrapper_object operator. This operator creates a xtd::reference_wrapper_object object.
 
std::ostream ctrace (nullptr)
 Provides an std::ostream for xtd::diagnostics::trace.
 
template<class type_t>
void delete_ptr (sptr< type_t > &ptr)
 xtd::delete_ptr operator delete a xtd::sptr or xtd::ptr object.
 
template<class type_t>
void delete_ptr (uptr< type_t > &ptr)
 xtd::delete_ptr operator delete a xtd::uptr object.
 
template<class type_t>
void delete_shared_ptr_object (shared_ptr_object< type_t > &ptr)
 xtd::delete_shared_ptr_object operator delete a xtd::shared_ptr_object or xtd::ptr object.
 
template<class type_t>
void delete_sptr (sptr< type_t > &ptr)
 xtd::delete_sptr operator delete a xtd::sptr or xtd::ptr object.
 
template<class type_t>
void delete_unique_ptr_object (unique_ptr_object< type_t > &ptr)
 xtd::delete_unique_ptr_object operator delete a xtd::unique_ptr_object or xtd::ptr object.
 
template<class type_t>
void delete_uptr (uptr< type_t > &ptr)
 xtd::delete_uptr operator delete a xtd::uptr object.
 
template<class type_t, class... args_t>
 fixed_array (type_t, args_t...) -> fixed_array< type_t, 1+sizeof...(args_t)>
 
template<class ... args_t>
xtd::string format (const xtd::string &fmt, args_t &&... args)
 Writes the text representation of the specified arguments list, to string using the specified format information.
 
template<class ... args_t>
xtd::u8string format (const xtd::u8string &fmt, args_t &&... args)
 Writes the text representation of the specified arguments list, to string using the specified format information.
 
template<class ... args_t>
xtd::u16string format (const xtd::u16string &fmt, args_t &&... args)
 Writes the text representation of the specified arguments list, to string using the specified format information.
 
template<class ... args_t>
xtd::u32string format (const xtd::u32string &fmt, args_t &&... args)
 Writes the text representation of the specified arguments list, to string using the specified format information.
 
template<class ... args_t>
xtd::wstring format (const xtd::wstring &fmt, args_t &&... args)
 Writes the text representation of the specified arguments list, to string using the specified format information.
 
const std::error_category & h_result_category () noexcept
 Obtains a reference to the static error category object for h_result errors. The object is required to override the virtual function error_category::name() to return a pointer to the string "h_result_category". It is used to identify error conditions that correspond to the xtd::h_result error codes.
 
template<class type_t>
type_t as (any_object &o)
 Casts a type into another type.
 
template<class type_t>
type_t as (const any_object &o)
 Casts a type into another type.
 
template<>
string as< string > (xtd::any_object &value)
 Casts a type into another type.
 
template<>
string as< string > (const xtd::any_object &value)
 Casts a type into another type.
 
template<>
bool as< bool > (xtd::any value)
 Casts a type into another type.
 
template<>
bool as< bool > (bool value)
 Casts a type into another type.
 
template<>
bool as< bool > (xtd::byte value)
 Casts a type into another type.
 
template<>
bool as< bool > (char value)
 Casts a type into another type.
 
template<>
bool as< bool > (char8 value)
 Casts a type into another type.
 
template<>
bool as< bool > (char16 value)
 Casts a type into another type.
 
template<>
bool as< bool > (char32 value)
 Casts a type into another type.
 
template<>
bool as< bool > (wchar value)
 Casts a type into another type.
 
template<>
bool as< bool > (decimal value)
 Casts a type into another type.
 
template<>
bool as< bool > (double value)
 Casts a type into another type.
 
template<>
bool as< bool > (float value)
 Casts a type into another type.
 
template<>
bool as< bool > (int16 value)
 Casts a type into another type.
 
template<>
bool as< bool > (int32 value)
 Casts a type into another type.
 
template<>
bool as< bool > (int64 value)
 Casts a type into another type.
 
template<>
bool as< bool > (slong value)
 Casts a type into another type.
 
template<>
bool as< bool > (sbyte value)
 Casts a type into another type.
 
template<>
bool as< bool > (uint16 value)
 Casts a type into another type.
 
template<>
bool as< bool > (uint32 value)
 Casts a type into another type.
 
template<>
bool as< bool > (uint64 value)
 Casts a type into another type.
 
template<>
bool as< bool > (xtd::ulong value)
 Casts a type into another type.
 
template<>
bool as< bool > (const xtd::string &value)
 Casts a type into another type.
 
template<>
bool as< bool > (xtd::string &value)
 Casts a type into another type.
 
template<>
bool as< bool > (const std::string &value)
 Casts a type into another type.
 
template<>
bool as< bool > (std::string &value)
 Casts a type into another type.
 
template<>
bool as< bool > (const std::u8string &value)
 Casts a type into another type.
 
template<>
bool as< bool > (std::u8string &value)
 Casts a type into another type.
 
template<>
bool as< bool > (const std::u16string &value)
 Casts a type into another type.
 
template<>
bool as< bool > (std::u16string &value)
 Casts a type into another type.
 
template<>
bool as< bool > (const std::u32string &value)
 Casts a type into another type.
 
template<>
bool as< bool > (std::u32string &value)
 Casts a type into another type.
 
template<>
bool as< bool > (const std::wstring &value)
 Casts a type into another type.
 
template<>
bool as< bool > (std::wstring &value)
 Casts a type into another type.
 
template<>
bool as< bool > (const char *value)
 Casts a type into another type.
 
template<>
bool as< bool > (char *value)
 Casts a type into another type.
 
template<>
bool as< bool > (const char8 *value)
 Casts a type into another type.
 
template<>
bool as< bool > (char8 *value)
 Casts a type into another type.
 
template<>
bool as< bool > (const char16 *value)
 Casts a type into another type.
 
template<>
bool as< bool > (char16 *value)
 Casts a type into another type.
 
template<>
bool as< bool > (const char32 *value)
 Casts a type into another type.
 
template<>
bool as< bool > (char32 *value)
 Casts a type into another type.
 
template<>
bool as< bool > (const wchar *value)
 Casts a type into another type.
 
template<>
bool as< bool > (wchar *value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (xtd::any value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (bool value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (xtd::byte value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (char value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (char8 value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (char16 value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (char32 value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (wchar value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (decimal value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (double value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (float value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (int16 value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (int32 value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (int64 value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (slong value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (sbyte value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (uint16 value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (uint32 value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (uint64 value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (xtd::ulong value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (const xtd::string &value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (xtd::string &value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (const xtd::string &value, xtd::byte from_base)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (const std::string &value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (std::string &value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (const std::u8string &value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (std::u8string &value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (const std::u16string &value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (std::u16string &value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (const std::u32string &value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (std::u32string &value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (const std::wstring &value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (std::wstring &value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (const char *value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (char *value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (const char8 *value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (char8 *value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (const char16 *value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (char16 *value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (const char32 *value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (char32 *value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (const wchar *value)
 Casts a type into another type.
 
template<>
xtd::byte as< xtd::byte > (wchar *value)
 Casts a type into another type.
 
template<>
char as< char > (xtd::any value)
 Casts a type into another type.
 
template<>
char as< char > (bool value)
 Casts a type into another type.
 
template<>
char as< char > (xtd::byte value)
 Casts a type into another type.
 
template<>
char as< char > (char value)
 Casts a type into another type.
 
template<>
char as< char > (char8 value)
 Casts a type into another type.
 
template<>
char as< char > (char16 value)
 Casts a type into another type.
 
template<>
char as< char > (char32 value)
 Casts a type into another type.
 
template<>
char as< char > (wchar value)
 Casts a type into another type.
 
template<>
char as< char > (decimal value)
 Casts a type into another type.
 
template<>
char as< char > (double value)
 Casts a type into another type.
 
template<>
char as< char > (float value)
 Casts a type into another type.
 
template<>
char as< char > (int16 value)
 Casts a type into another type.
 
template<>
char as< char > (int32 value)
 Casts a type into another type.
 
template<>
char as< char > (int64 value)
 Casts a type into another type.
 
template<>
char as< char > (slong value)
 Casts a type into another type.
 
template<>
char as< char > (sbyte value)
 Casts a type into another type.
 
template<>
char as< char > (uint16 value)
 Casts a type into another type.
 
template<>
char as< char > (uint32 value)
 Casts a type into another type.
 
template<>
char as< char > (uint64 value)
 Casts a type into another type.
 
template<>
char as< char > (xtd::ulong value)
 Casts a type into another type.
 
template<>
char as< char > (const xtd::string &value)
 Casts a type into another type.
 
template<>
char as< char > (xtd::string &value)
 Casts a type into another type.
 
template<>
char as< char > (const std::string &value)
 Casts a type into another type.
 
template<>
char as< char > (std::string &value)
 Casts a type into another type.
 
template<>
char as< char > (const std::u8string &value)
 Casts a type into another type.
 
template<>
char as< char > (std::u8string &value)
 Casts a type into another type.
 
template<>
char as< char > (const std::u16string &value)
 Casts a type into another type.
 
template<>
char as< char > (std::u16string &value)
 Casts a type into another type.
 
template<>
char as< char > (const std::u32string &value)
 Casts a type into another type.
 
template<>
char as< char > (std::u32string &value)
 Casts a type into another type.
 
template<>
char as< char > (const std::wstring &value)
 Casts a type into another type.
 
template<>
char as< char > (std::wstring &value)
 Casts a type into another type.
 
template<>
char as< char > (const char *value)
 Casts a type into another type.
 
template<>
char as< char > (char *value)
 Casts a type into another type.
 
template<>
char as< char > (const char8 *value)
 Casts a type into another type.
 
template<>
char as< char > (char8 *value)
 Casts a type into another type.
 
template<>
char as< char > (const char16 *value)
 Casts a type into another type.
 
template<>
char as< char > (char16 *value)
 Casts a type into another type.
 
template<>
char as< char > (const char32 *value)
 Casts a type into another type.
 
template<>
char as< char > (char32 *value)
 Casts a type into another type.
 
template<>
char as< char > (const wchar *value)
 Casts a type into another type.
 
template<>
char as< char > (wchar *value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (xtd::any value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (bool value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (xtd::byte value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (char value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (char8 value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (char16 value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (char32 value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (wchar value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (decimal value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (double value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (float value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (int16 value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (int32 value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (int64 value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (slong value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (sbyte value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (uint16 value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (uint32 value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (uint64 value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (xtd::ulong value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (const xtd::string &value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (xtd::string &value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (const std::string &value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (std::string &value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (const std::u8string &value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (std::u8string &value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (const std::u16string &value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (std::u16string &value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (const std::u32string &value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (std::u32string &value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (const std::wstring &value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (std::wstring &value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (const char *value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (char *value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (const char8 *value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (char8 *value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (const char16 *value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (char16 *value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (const char32 *value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (char32 *value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (const wchar *value)
 Casts a type into another type.
 
template<>
char16 as< char16 > (wchar *value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (xtd::any value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (bool value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (xtd::byte value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (char value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (char8 value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (char16 value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (char32 value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (wchar value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (decimal value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (double value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (float value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (int16 value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (int32 value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (int64 value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (slong value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (sbyte value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (uint16 value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (uint32 value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (uint64 value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (xtd::ulong value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (const xtd::string &value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (xtd::string &value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (const std::string &value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (std::string &value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (const std::u8string &value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (std::u8string &value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (const std::u16string &value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (std::u16string &value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (const std::u32string &value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (std::u32string &value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (const std::wstring &value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (std::wstring &value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (const char *value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (char *value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (const char8 *value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (char8 *value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (const char16 *value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (char16 *value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (const char32 *value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (char32 *value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (const wchar *value)
 Casts a type into another type.
 
template<>
char32 as< char32 > (wchar *value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (xtd::any value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (bool value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (xtd::byte value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (char value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (char8 value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (char16 value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (char32 value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (wchar value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (decimal value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (double value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (float value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (int16 value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (int32 value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (int64 value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (slong value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (sbyte value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (uint16 value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (uint32 value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (uint64 value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (xtd::ulong value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (const xtd::string &value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (xtd::string &value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (const std::string &value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (std::string &value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (const std::u8string &value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (std::u8string &value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (const std::u16string &value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (std::u16string &value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (const std::u32string &value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (std::u32string &value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (const std::wstring &value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (std::wstring &value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (const char *value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (char *value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (const char8 *value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (char8 *value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (const char16 *value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (char16 *value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (const char32 *value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (char32 *value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (const wchar *value)
 Casts a type into another type.
 
template<>
char8 as< char8 > (wchar *value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (xtd::any value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (bool value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (xtd::byte value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (char value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (char8 value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (char16 value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (char32 value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (wchar value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (decimal value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (double value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (float value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (int16 value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (int32 value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (int64 value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (slong value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (sbyte value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (uint16 value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (uint32 value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (uint64 value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (xtd::ulong value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (const xtd::string &value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (xtd::string &value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (const std::string &value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (std::string &value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (const std::u8string &value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (std::u8string &value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (const std::u16string &value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (std::u16string &value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (const std::u32string &value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (std::u32string &value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (const std::wstring &value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (std::wstring &value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (const char *value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (char *value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (const char8 *value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (char8 *value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (const char16 *value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (char16 *value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (const char32 *value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (char32 *value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (const wchar *value)
 Casts a type into another type.
 
template<>
decimal as< decimal > (wchar *value)
 Casts a type into another type.
 
template<>
double as< double > (xtd::any value)
 Casts a type into another type.
 
template<>
double as< double > (bool value)
 Casts a type into another type.
 
template<>
double as< double > (xtd::byte value)
 Casts a type into another type.
 
template<>
double as< double > (char value)
 Casts a type into another type.
 
template<>
double as< double > (char8 value)
 Casts a type into another type.
 
template<>
double as< double > (char16 value)
 Casts a type into another type.
 
template<>
double as< double > (char32 value)
 Casts a type into another type.
 
template<>
double as< double > (wchar value)
 Casts a type into another type.
 
template<>
double as< double > (decimal value)
 Casts a type into another type.
 
template<>
double as< double > (double value)
 Casts a type into another type.
 
template<>
double as< double > (float value)
 Casts a type into another type.
 
template<>
double as< double > (int16 value)
 Casts a type into another type.
 
template<>
double as< double > (int32 value)
 Casts a type into another type.
 
template<>
double as< double > (int64 value)
 Casts a type into another type.
 
template<>
double as< double > (slong value)
 Casts a type into another type.
 
template<>
double as< double > (sbyte value)
 Casts a type into another type.
 
template<>
double as< double > (uint16 value)
 Casts a type into another type.
 
template<>
double as< double > (uint32 value)
 Casts a type into another type.
 
template<>
double as< double > (uint64 value)
 Casts a type into another type.
 
template<>
double as< double > (xtd::ulong value)
 Casts a type into another type.
 
template<>
double as< double > (const xtd::string &value)
 Casts a type into another type.
 
template<>
double as< double > (xtd::string &value)
 Casts a type into another type.
 
template<>
double as< double > (const std::string &value)
 Casts a type into another type.
 
template<>
double as< double > (std::string &value)
 Casts a type into another type.
 
template<>
double as< double > (const std::u8string &value)
 Casts a type into another type.
 
template<>
double as< double > (std::u8string &value)
 Casts a type into another type.
 
template<>
double as< double > (const std::u16string &value)
 Casts a type into another type.
 
template<>
double as< double > (std::u16string &value)
 Casts a type into another type.
 
template<>
double as< double > (const std::u32string &value)
 Casts a type into another type.
 
template<>
double as< double > (std::u32string &value)
 Casts a type into another type.
 
template<>
double as< double > (const std::wstring &value)
 Casts a type into another type.
 
template<>
double as< double > (std::wstring &value)
 Casts a type into another type.
 
template<>
double as< double > (const char *value)
 Casts a type into another type.
 
template<>
double as< double > (char *value)
 Casts a type into another type.
 
template<>
double as< double > (const char8 *value)
 Casts a type into another type.
 
template<>
double as< double > (char8 *value)
 Casts a type into another type.
 
template<>
double as< double > (const char16 *value)
 Casts a type into another type.
 
template<>
double as< double > (char16 *value)
 Casts a type into another type.
 
template<>
double as< double > (const char32 *value)
 Casts a type into another type.
 
template<>
double as< double > (char32 *value)
 Casts a type into another type.
 
template<>
double as< double > (const wchar *value)
 Casts a type into another type.
 
template<>
double as< double > (wchar *value)
 Casts a type into another type.
 
template<>
float as< float > (xtd::any value)
 Casts a type into another type.
 
template<>
float as< float > (bool value)
 Casts a type into another type.
 
template<>
float as< float > (xtd::byte value)
 Casts a type into another type.
 
template<>
float as< float > (char value)
 Casts a type into another type.
 
template<>
float as< float > (char8 value)
 Casts a type into another type.
 
template<>
float as< float > (char16 value)
 Casts a type into another type.
 
template<>
float as< float > (char32 value)
 Casts a type into another type.
 
template<>
float as< float > (wchar value)
 Casts a type into another type.
 
template<>
float as< float > (decimal value)
 Casts a type into another type.
 
template<>
float as< float > (double value)
 Casts a type into another type.
 
template<>
float as< float > (float value)
 Casts a type into another type.
 
template<>
float as< float > (int16 value)
 Casts a type into another type.
 
template<>
float as< float > (int32 value)
 Casts a type into another type.
 
template<>
float as< float > (int64 value)
 Casts a type into another type.
 
template<>
float as< float > (slong value)
 Casts a type into another type.
 
template<>
float as< float > (sbyte value)
 Casts a type into another type.
 
template<>
float as< float > (uint16 value)
 Casts a type into another type.
 
template<>
float as< float > (uint32 value)
 Casts a type into another type.
 
template<>
float as< float > (uint64 value)
 Casts a type into another type.
 
template<>
float as< float > (xtd::ulong value)
 Casts a type into another type.
 
template<>
float as< float > (const xtd::string &value)
 Casts a type into another type.
 
template<>
float as< float > (xtd::string &value)
 Casts a type into another type.
 
template<>
float as< float > (const std::string &value)
 Casts a type into another type.
 
template<>
float as< float > (std::string &value)
 Casts a type into another type.
 
template<>
float as< float > (const std::u8string &value)
 Casts a type into another type.
 
template<>
float as< float > (std::u8string &value)
 Casts a type into another type.
 
template<>
float as< float > (const std::u16string &value)
 Casts a type into another type.
 
template<>
float as< float > (std::u16string &value)
 Casts a type into another type.
 
template<>
float as< float > (const std::u32string &value)
 Casts a type into another type.
 
template<>
float as< float > (std::u32string &value)
 Casts a type into another type.
 
template<>
float as< float > (const std::wstring &value)
 Casts a type into another type.
 
template<>
float as< float > (std::wstring &value)
 Casts a type into another type.
 
template<>
float as< float > (const char *value)
 Casts a type into another type.
 
template<>
float as< float > (char *value)
 Casts a type into another type.
 
template<>
float as< float > (const char8 *value)
 Casts a type into another type.
 
template<>
float as< float > (char8 *value)
 Casts a type into another type.
 
template<>
float as< float > (const char16 *value)
 Casts a type into another type.
 
template<>
float as< float > (char16 *value)
 Casts a type into another type.
 
template<>
float as< float > (const char32 *value)
 Casts a type into another type.
 
template<>
float as< float > (char32 *value)
 Casts a type into another type.
 
template<>
float as< float > (const wchar *value)
 Casts a type into another type.
 
template<>
float as< float > (wchar *value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (xtd::any value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (bool value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (xtd::byte value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (char value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (char8 value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (char16 value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (char32 value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (wchar value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (decimal value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (double value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (float value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (int16 value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (int32 value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (int64 value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (slong value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (sbyte value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (uint16 value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (uint32 value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (uint64 value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (xtd::ulong value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (const xtd::string &value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (xtd::string &value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (const std::string &value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (std::string &value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (const std::u8string &value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (std::u8string &value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (const std::u16string &value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (std::u16string &value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (const std::u32string &value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (std::u32string &value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (const std::wstring &value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (std::wstring &value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (const char *value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (char *value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (const char8 *value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (char8 *value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (const char16 *value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (char16 *value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (const char32 *value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (char32 *value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (const wchar *value)
 Casts a type into another type.
 
template<class new_type_t>
new_type_t as (wchar *value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (xtd::any value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (bool value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (xtd::byte value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (char value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (char8 value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (char16 value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (char32 value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (wchar value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (decimal value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (double value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (float value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (int16 value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (int32 value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (int64 value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (slong value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (sbyte value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (uint16 value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (uint32 value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (uint64 value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (xtd::ulong value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (const xtd::string &value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (xtd::string &value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (const xtd::string &value, xtd::byte from_base)
 Casts a type into another type.
 
template<>
int16 as< int16 > (const std::string &value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (std::string &value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (const std::u8string &value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (std::u8string &value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (const std::u16string &value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (std::u16string &value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (const std::u32string &value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (std::u32string &value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (const std::wstring &value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (std::wstring &value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (const char *value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (char *value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (const char8 *value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (char8 *value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (const char16 *value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (char16 *value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (const char32 *value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (char32 *value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (const wchar *value)
 Casts a type into another type.
 
template<>
int16 as< int16 > (wchar *value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (xtd::any value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (bool value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (xtd::byte value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (char value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (char8 value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (char16 value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (char32 value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (wchar value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (decimal value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (double value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (float value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (int16 value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (int32 value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (int64 value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (slong value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (sbyte value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (uint16 value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (uint32 value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (uint64 value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (xtd::ulong value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (const xtd::string &value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (xtd::string &value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (const xtd::string &value, xtd::byte from_base)
 Casts a type into another type.
 
template<>
int32 as< int32 > (const std::string &value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (std::string &value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (const std::u8string &value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (std::u8string &value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (const std::u16string &value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (std::u16string &value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (const std::u32string &value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (std::u32string &value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (const std::wstring &value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (std::wstring &value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (const char *value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (char *value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (const char8 *value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (char8 *value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (const char16 *value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (char16 *value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (const char32 *value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (char32 *value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (const wchar *value)
 Casts a type into another type.
 
template<>
int32 as< int32 > (wchar *value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (xtd::any value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (bool value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (xtd::byte value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (char value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (char8 value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (char16 value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (char32 value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (wchar value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (decimal value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (double value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (float value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (int16 value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (int32 value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (int64 value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (slong value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (sbyte value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (uint16 value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (uint32 value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (uint64 value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (xtd::ulong value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (const xtd::string &value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (xtd::string &value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (const xtd::string &value, xtd::byte from_base)
 Casts a type into another type.
 
template<>
int64 as< int64 > (const std::string &value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (std::string &value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (const std::u8string &value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (std::u8string &value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (const std::u16string &value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (std::u16string &value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (const std::u32string &value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (std::u32string &value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (const std::wstring &value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (std::wstring &value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (const char *value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (char *value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (const char8 *value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (char8 *value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (const char16 *value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (char16 *value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (const char32 *value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (char32 *value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (const wchar *value)
 Casts a type into another type.
 
template<>
int64 as< int64 > (wchar *value)
 Casts a type into another type.
 
template<class new_type_t, class current_type_t>
const new_type_t & as (const current_type_t &value)
 Casts a type into another type.
 
template<class new_type_t, class current_type_t>
new_type_t & as (current_type_t &value)
 Casts a type into another type.
 
template<class new_type_t, class current_type_t>
const new_type_t * as (const current_type_t *value)
 Casts a type into another type.
 
template<class new_type_t, class current_type_t>
new_type_t * as (current_type_t *value)
 Casts a type into another type.
 
template<class new_type_t, class current_type_t>
xtd::uptr< new_type_t > as (xtd::uptr< current_type_t > &value)
 Casts a type into another type.
 
template<class new_type_t, class current_type_t>
xtd::uptr< new_type_t > as (xtd::uptr< current_type_t > &&value)
 Casts a type into another type.
 
template<class new_type_t, class current_type_t>
xtd::sptr< new_type_t > as (const xtd::sptr< current_type_t > &value)
 Casts a type into another type.
 
template<class new_type_t, class current_type_t>
xtd::sptr< new_type_t > as (xtd::sptr< current_type_t > &value)
 Casts a type into another type.
 
template<class new_type_t, class current_type_t>
xtd::sptr< new_type_t > as (xtd::sptr< current_type_t > &&value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (xtd::any value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (bool value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (xtd::byte value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (char value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (char8 value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (char16 value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (char32 value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (wchar value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (decimal value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (double value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (float value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (int16 value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (int32 value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (int64 value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (slong value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (sbyte value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (uint16 value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (uint32 value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (uint64 value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (xtd::ulong value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (const xtd::string &value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (xtd::string &value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (const xtd::string &value, xtd::byte from_base)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (const std::string &value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (std::string &value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (const std::u8string &value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (std::u8string &value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (const std::u16string &value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (std::u16string &value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (const std::u32string &value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (std::u32string &value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (const std::wstring &value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (std::wstring &value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (const char *value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (char *value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (const char8 *value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (char8 *value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (const char16 *value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (char16 *value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (const char32 *value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (char32 *value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (const wchar *value)
 Casts a type into another type.
 
template<>
sbyte as< sbyte > (wchar *value)
 Casts a type into another type.
 
template<>
slong as< slong > (xtd::any value)
 Casts a type into another type.
 
template<>
slong as< slong > (bool value)
 Casts a type into another type.
 
template<>
slong as< slong > (xtd::byte value)
 Casts a type into another type.
 
template<>
slong as< slong > (char value)
 Casts a type into another type.
 
template<>
slong as< slong > (char8 value)
 Casts a type into another type.
 
template<>
slong as< slong > (char16 value)
 Casts a type into another type.
 
template<>
slong as< slong > (char32 value)
 Casts a type into another type.
 
template<>
slong as< slong > (wchar value)
 Casts a type into another type.
 
template<>
slong as< slong > (decimal value)
 Casts a type into another type.
 
template<>
slong as< slong > (double value)
 Casts a type into another type.
 
template<>
slong as< slong > (float value)
 Casts a type into another type.
 
template<>
slong as< slong > (int16 value)
 Casts a type into another type.
 
template<>
slong as< slong > (int32 value)
 Casts a type into another type.
 
template<>
slong as< slong > (int64 value)
 Casts a type into another type.
 
template<>
slong as< slong > (slong value)
 Casts a type into another type.
 
template<>
slong as< slong > (sbyte value)
 Casts a type into another type.
 
template<>
slong as< slong > (uint16 value)
 Casts a type into another type.
 
template<>
slong as< slong > (uint32 value)
 Casts a type into another type.
 
template<>
slong as< slong > (uint64 value)
 Casts a type into another type.
 
template<>
slong as< slong > (xtd::ulong value)
 Casts a type into another type.
 
template<>
slong as< slong > (const xtd::string &value)
 Casts a type into another type.
 
template<>
slong as< slong > (xtd::string &value)
 Casts a type into another type.
 
template<>
slong as< slong > (const xtd::string &value, xtd::byte from_base)
 Casts a type into another type.
 
template<>
slong as< slong > (const std::string &value)
 Casts a type into another type.
 
template<>
slong as< slong > (std::string &value)
 Casts a type into another type.
 
template<>
slong as< slong > (const std::u8string &value)
 Casts a type into another type.
 
template<>
slong as< slong > (std::u8string &value)
 Casts a type into another type.
 
template<>
slong as< slong > (const std::u16string &value)
 Casts a type into another type.
 
template<>
slong as< slong > (std::u16string &value)
 Casts a type into another type.
 
template<>
slong as< slong > (const std::u32string &value)
 Casts a type into another type.
 
template<>
slong as< slong > (std::u32string &value)
 Casts a type into another type.
 
template<>
slong as< slong > (const std::wstring &value)
 Casts a type into another type.
 
template<>
slong as< slong > (std::wstring &value)
 Casts a type into another type.
 
template<>
slong as< slong > (const char *value)
 Casts a type into another type.
 
template<>
slong as< slong > (char *value)
 Casts a type into another type.
 
template<>
slong as< slong > (const char8 *value)
 Casts a type into another type.
 
template<>
slong as< slong > (char8 *value)
 Casts a type into another type.
 
template<>
slong as< slong > (const char16 *value)
 Casts a type into another type.
 
template<>
slong as< slong > (char16 *value)
 Casts a type into another type.
 
template<>
slong as< slong > (const char32 *value)
 Casts a type into another type.
 
template<>
slong as< slong > (char32 *value)
 Casts a type into another type.
 
template<>
slong as< slong > (const wchar *value)
 Casts a type into another type.
 
template<>
slong as< slong > (wchar *value)
 Casts a type into another type.
 
template<>
std::string as< std::string > (const std::string &value)
 Casts a type into another type.
 
template<>
string as< string > (xtd::any value)
 Casts a type into another type.
 
template<>
string as< string > (bool value)
 Casts a type into another type.
 
template<>
string as< string > (xtd::byte value)
 Casts a type into another type.
 
template<>
string as< string > (xtd::byte value, xtd::byte from_base)
 Casts a type into another type.
 
template<>
string as< string > (char value)
 Casts a type into another type.
 
template<>
string as< string > (char8 value)
 Casts a type into another type.
 
template<>
string as< string > (char16 value)
 Casts a type into another type.
 
template<>
string as< string > (char32 value)
 Casts a type into another type.
 
template<>
string as< string > (wchar value)
 Casts a type into another type.
 
template<>
string as< string > (decimal value)
 Casts a type into another type.
 
template<>
string as< string > (double value)
 Casts a type into another type.
 
template<>
string as< string > (float value)
 Casts a type into another type.
 
template<>
string as< string > (int16 value)
 Casts a type into another type.
 
template<>
string as< string > (int16 value, xtd::byte from_base)
 Casts a type into another type.
 
template<>
string as< string > (int32 value)
 Casts a type into another type.
 
template<>
string as< string > (int32 value, xtd::byte from_base)
 Casts a type into another type.
 
template<>
string as< string > (int64 value)
 Casts a type into another type.
 
template<>
string as< string > (int64 value, xtd::byte from_base)
 Casts a type into another type.
 
template<>
string as< string > (slong value)
 Casts a type into another type.
 
template<>
string as< string > (slong value, xtd::byte from_base)
 Casts a type into another type.
 
template<>
string as< string > (sbyte value)
 Casts a type into another type.
 
template<>
string as< string > (sbyte value, xtd::byte from_base)
 Casts a type into another type.
 
template<>
string as< string > (uint16 value)
 Casts a type into another type.
 
template<>
string as< string > (uint16 value, xtd::byte from_base)
 Casts a type into another type.
 
template<>
string as< string > (uint32 value)
 Casts a type into another type.
 
template<>
string as< string > (uint32 value, xtd::byte from_base)
 Casts a type into another type.
 
template<>
string as< string > (uint64 value)
 Casts a type into another type.
 
template<>
string as< string > (uint64 value, xtd::byte from_base)
 Casts a type into another type.
 
template<>
string as< string > (xtd::ulong value)
 Casts a type into another type.
 
template<>
string as< string > (xtd::ulong value, xtd::byte from_base)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (xtd::any value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (bool value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (xtd::byte value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (char value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (char8 value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (char16 value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (char32 value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (wchar value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (decimal value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (double value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (float value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (int16 value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (int32 value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (int64 value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (slong value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (sbyte value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (uint16 value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (uint32 value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (uint64 value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (xtd::ulong value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (const xtd::string &value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (xtd::string &value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (const xtd::string &value, xtd::byte from_base)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (const std::string &value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (std::string &value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (const std::u8string &value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (std::u8string &value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (const std::u16string &value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (std::u16string &value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (const std::u32string &value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (std::u32string &value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (const std::wstring &value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (std::wstring &value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (const char *value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (char *value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (const char8 *value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (char8 *value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (const char16 *value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (char16 *value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (const char32 *value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (char32 *value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (const wchar *value)
 Casts a type into another type.
 
template<>
uint16 as< uint16 > (wchar *value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (xtd::any value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (bool value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (xtd::byte value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (char value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (char8 value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (char16 value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (char32 value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (wchar value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (decimal value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (double value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (float value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (int16 value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (int32 value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (int64 value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (slong value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (sbyte value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (uint16 value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (uint32 value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (uint64 value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (xtd::ulong value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (const xtd::string &value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (xtd::string &value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (const xtd::string &value, xtd::byte from_base)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (const std::string &value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (std::string &value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (const std::u8string &value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (std::u8string &value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (const std::u16string &value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (std::u16string &value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (const std::u32string &value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (std::u32string &value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (const std::wstring &value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (std::wstring &value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (const char *value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (char *value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (const char8 *value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (char8 *value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (const char16 *value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (char16 *value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (const char32 *value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (char32 *value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (const wchar *value)
 Casts a type into another type.
 
template<>
uint32 as< uint32 > (wchar *value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (xtd::any value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (bool value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (xtd::byte value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (char value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (char8 value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (char16 value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (char32 value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (wchar value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (decimal value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (double value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (float value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (int16 value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (int32 value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (int64 value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (slong value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (sbyte value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (uint16 value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (uint32 value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (uint64 value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (xtd::ulong value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (const xtd::string &value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (xtd::string &value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (const xtd::string &value, xtd::byte from_base)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (const std::string &value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (std::string &value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (const std::u8string &value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (std::u8string &value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (const std::u16string &value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (std::u16string &value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (const std::u32string &value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (std::u32string &value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (const std::wstring &value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (std::wstring &value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (const char *value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (char *value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (const char8 *value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (char8 *value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (const char16 *value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (char16 *value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (const char32 *value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (char32 *value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (const wchar *value)
 Casts a type into another type.
 
template<>
uint64 as< uint64 > (wchar *value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (xtd::any value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (bool value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (xtd::byte value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (char value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (char8 value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (char16 value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (char32 value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (wchar value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (decimal value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (double value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (float value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (int16 value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (int32 value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (int64 value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (slong value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (sbyte value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (uint16 value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (uint32 value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (uint64 value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (xtd::ulong value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (const xtd::string &value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (xtd::string &value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (const xtd::string &value, xtd::byte from_base)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (const std::string &value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (std::string &value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (const std::u8string &value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (std::u8string &value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (const std::u16string &value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (std::u16string &value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (const std::u32string &value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (std::u32string &value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (const std::wstring &value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (std::wstring &value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (const char *value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (char *value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (const char8 *value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (char8 *value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (const char16 *value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (char16 *value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (const char32 *value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (char32 *value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (const wchar *value)
 Casts a type into another type.
 
template<>
xtd::ulong as< xtd::ulong > (wchar *value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (xtd::any value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (bool value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (xtd::byte value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (char value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (char8 value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (char16 value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (char32 value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (wchar value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (decimal value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (double value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (float value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (int16 value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (int32 value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (int64 value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (slong value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (sbyte value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (uint16 value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (uint32 value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (uint64 value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (xtd::ulong value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (const xtd::string &value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (xtd::string &value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (const std::string &value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (std::string &value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (const std::u8string &value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (std::u8string &value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (const std::u16string &value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (std::u16string &value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (const std::u32string &value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (std::u32string &value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (const std::wstring &value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (std::wstring &value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (const char *value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (char *value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (const char8 *value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (char8 *value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (const char16 *value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (char16 *value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (const char32 *value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (char32 *value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (const wchar *value)
 Casts a type into another type.
 
template<>
wchar as< wchar > (wchar *value)
 Casts a type into another type.
 
template<>
bool is< bool > (bool value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool is< char > (char value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool is< char16 > (char16 value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool is< char32 > (char32 value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool is< char8 > (char8 value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool is< wchar > (wchar value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool is< decimal > (decimal value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool is< double > (double value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool is< float > (float value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool is< sbyte > (sbyte value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool is< int16 > (int16 value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool is< int32 > (int32 value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool is< int64 > (int64 value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool is< slong > (slong value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool is< xtd::byte > (xtd::byte value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool is< uint16 > (uint16 value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool is< uint32 > (uint32 value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool is< uint64 > (uint64 value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool is< xtd::ulong > (xtd::ulong value)
 Checks if the result of an expression is compatible with a given type.
 
template<class type_t>
bool is (xtd::any value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool is< xtd::any > (xtd::any value)
 Checks if the result of an expression is compatible with a given type.
 
template<class type_t, class param_t>
bool is (const param_t *value)
 Checks if the result of an expression is compatible with a given type.
 
template<class type_t, class param_t>
bool is (const param_t &value)
 Checks if the result of an expression is compatible with a given type.
 
template<class type_t, class param_t>
bool is (param_t *value)
 Checks if the result of an expression is compatible with a given type.
 
template<class type_t, class param_t>
bool is (param_t &value)
 Checks if the result of an expression is compatible with a given type.
 
template<class new_type_t, class current_type_t>
bool is (xtd::sptr< current_type_t > &value)
 Checks if the result of an expression is compatible with a given type.
 
template<class type_t, class... args_t>
xtd::any make_any (args_t &&... args)
 Creates an xtd::any object containing an object of type type_t, passing the provided arguments to type_t's constructor.
 
template<class type_t, class il_type_t, class... args_t>
xtd::any make_any (std::initializer_list< il_type_t > il, args_t &&... args)
 Creates an xtd::any object containing an object of type type_t, passing the provided arguments to type_t's constructor.
 
template<class type_t, class ... args_t>
any_object make_any_object (args_t &&... args)
 The xtd::make_any_object operator creates a xtd::any_object object.
 
std::error_code make_error_code (int h_result) noexcept
 Creates error code value for xtd::h_result h_result.
 
template<class type_t, class ... args_t>
ptr< type_t > new_ptr (args_t &&... args)
 The xtd::new_ptr operator creates a xtd::ptr object.
 
template<class type_t, class ... args_t>
shared_ptr_object< type_t > new_shared_ptr_object (args_t &&... args)
 xtd::new_shared_ptr_object operator creates a xtd::shared_ptr_object object.
 
template<class type_t>
shared_ptr_object< type_t > new_shared_ptr_object (const type_t &arg)
 xtd::new_shared_ptr_object operator creates a xtd::shared_ptr_object object.
 
template<class type_t>
shared_ptr_object< type_t > new_shared_ptr_object ()
 xtd::new_shared_ptr_object operator creates a xtd::shared_ptr_object object.
 
template<class type_t, class ... args_t>
sptr< type_t > new_sptr (args_t &&... args)
 xtd::new_sptr operator creates a xtd::sptr object.
 
template<class type_t, class ... args_t>
unique_ptr_object< type_t > new_unique_ptr_object (args_t &&... args)
 xtd::new_unique_ptr_object operator creates a xtd::unique_ptr_object object.
 
template<class type_t>
unique_ptr_object< type_t > new_unique_ptr_object (const type_t &arg)
 xtd::new_unique_ptr_object operator creates a xtd::unique_ptr_object object.
 
template<class type_t>
unique_ptr_object< type_t > new_unique_ptr_object ()
 xtd::new_unique_ptr_object operator creates a xtd::unique_ptr_object object.
 
template<class type_t, class ... args_t>
uptr< type_t > new_uptr (args_t &&... args)
 xtd::new_uptr operator. This operator creates a xtd::uptr object.
 
template<class value_t>
value_t parse (const std::string &str)
 Convert a string into a type.
 
template<class value_t>
value_t parse (const std::string &str, const std::locale &locale)
 Convert a string into a type.
 
template<class value_t>
value_t parse (const std::string &str, const std::string &fmt)
 Convert a string into a type.
 
template<>
std::string parse< std::string > (const std::string &str)
 Convert a string into a type.
 
template<class value_t>
value_t parse (const std::string &str, number_styles)
 Convert a string into a type.
 
template<class value_t>
value_t parse (const std::string &str, number_styles, const std::locale &locale)
 Convert a string into a type.
 
template<>
xtd::sbyte parse< xtd::sbyte > (const std::string &str, number_styles styles)
 Convert a string into a type.
 
template<>
char parse< char > (const std::string &str, number_styles styles)
 Convert a string into a type.
 
template<>
unsigned char parse< unsigned char > (const std::string &str, number_styles styles)
 Convert a string into a type.
 
template<>
short parse< short > (const std::string &str, number_styles styles)
 Convert a string into a type.
 
template<>
unsigned short parse< unsigned short > (const std::string &str, number_styles styles)
 Convert a string into a type.
 
template<>
int parse< int > (const std::string &str, number_styles styles)
 Convert a string into a type.
 
template<>
unsigned int parse< unsigned int > (const std::string &str, number_styles styles)
 Convert a string into a type.
 
template<>
long parse< long > (const std::string &str, number_styles styles)
 Convert a string into a type.
 
template<>
unsigned long parse< unsigned long > (const std::string &str, number_styles styles)
 Convert a string into a type.
 
template<>
long long parse< long long > (const std::string &str, number_styles styles)
 Convert a string into a type.
 
template<>
unsigned long long parse< unsigned long long > (const std::string &str, number_styles styles)
 Convert a string into a type.
 
template<>
float parse< float > (const std::string &str, number_styles styles)
 Convert a string into a type.
 
template<>
float parse< float > (const std::string &str, number_styles styles, const std::locale &locale)
 Convert a string into a type.
 
template<>
double parse< double > (const std::string &str, number_styles styles)
 Convert a string into a type.
 
template<>
double parse< double > (const std::string &str, number_styles styles, const std::locale &locale)
 Convert a string into a type.
 
template<>
long double parse< long double > (const std::string &str, number_styles styles)
 Convert a string into a type.
 
template<>
long double parse< long double > (const std::string &str, number_styles styles, const std::locale &locale)
 Convert a string into a type.
 
template<>
xtd::sbyte parse< xtd::sbyte > (const std::string &str)
 Convert a string into a type.
 
template<>
char parse< char > (const std::string &str)
 Convert a string into a type.
 
template<>
unsigned char parse< unsigned char > (const std::string &str)
 Convert a string into a type.
 
template<>
short parse< short > (const std::string &str)
 Convert a string into a type.
 
template<>
unsigned short parse< unsigned short > (const std::string &str)
 Convert a string into a type.
 
template<>
int parse< int > (const std::string &str)
 Convert a string into a type.
 
template<>
unsigned int parse< unsigned int > (const std::string &str)
 Convert a string into a type.
 
template<>
long parse< long > (const std::string &str)
 Convert a string into a type.
 
template<>
unsigned long parse< unsigned long > (const std::string &str)
 Convert a string into a type.
 
template<>
long long parse< long long > (const std::string &str)
 Convert a string into a type.
 
template<>
unsigned long long parse< unsigned long long > (const std::string &str)
 Convert a string into a type.
 
template<>
float parse< float > (const std::string &str)
 Convert a string into a type.
 
template<>
double parse< double > (const std::string &str)
 Convert a string into a type.
 
template<>
long double parse< long double > (const std::string &str)
 Convert a string into a type.
 
template<>
bool parse< bool > (const std::string &str)
 Convert a string into a type.
 
template<class value_t>
value_t parse (const std::wstring &str)
 Convert a string into a type.
 
template<class value_t>
value_t parse (const std::u16string &str)
 Convert a string into a type.
 
template<class value_t>
value_t parse (const std::u32string &str)
 Convert a string into a type.
 
template<class value_t>
bool try_parse (const std::basic_string< char > &str, value_t &value) noexcept
 Convert a string into a type.
 
template<class value_t>
bool try_parse (const std::basic_string< xtd::char16 > &str, value_t &value) noexcept
 Convert a string into a type.
 
template<class value_t>
bool try_parse (const std::basic_string< xtd::char32 > &str, value_t &value) noexcept
 Convert a string into a type.
 
template<class value_t>
bool try_parse (const std::basic_string< xtd::char8 > &str, value_t &value) noexcept
 Convert a string into a type.
 
template<class value_t>
bool try_parse (const std::basic_string< xtd::wchar > &str, value_t &value) noexcept
 Convert a string into a type.
 
template<class value_t>
bool try_parse (const std::basic_string< char > &str, value_t &value, const std::locale &locale) noexcept
 Convert a string into a type.
 
template<class value_t>
bool try_parse (const std::basic_string< xtd::char16 > &str, value_t &value, const std::locale &locale) noexcept
 Convert a string into a type.
 
template<class value_t>
bool try_parse (const std::basic_string< xtd::char32 > &str, value_t &value, const std::locale &locale) noexcept
 Convert a string into a type.
 
template<class value_t>
bool try_parse (const std::basic_string< xtd::char8 > &str, value_t &value, const std::locale &locale) noexcept
 Convert a string into a type.
 
template<class value_t>
bool try_parse (const std::basic_string< xtd::wchar > &str, value_t &value, const std::locale &locale) noexcept
 Convert a string into a type.
 
template<class value_t, class char_t>
bool try_parse (const char_t *str, value_t &value) noexcept
 Convert a string into a type.
 
template<class value_t, class char_t>
bool try_parse (const char_t *str, value_t &value, const std::locale &locale) noexcept
 Convert a string into a type.
 
template<class value_t>
bool try_parse (const std::basic_string< char > &str, value_t &value, number_styles style) noexcept
 Convert a string into a type.
 
template<class value_t>
bool try_parse (const std::basic_string< xtd::char16 > &str, value_t &value, number_styles style) noexcept
 Convert a string into a type.
 
template<class value_t>
bool try_parse (const std::basic_string< xtd::char32 > &str, value_t &value, number_styles style) noexcept
 Convert a string into a type.
 
template<class value_t>
bool try_parse (const std::basic_string< xtd::char8 > &str, value_t &value, number_styles style) noexcept
 Convert a string into a type.
 
template<class value_t>
bool try_parse (const std::basic_string< xtd::wchar > &str, value_t &value, number_styles style) noexcept
 Convert a string into a type.
 
template<class value_t>
bool try_parse (const std::basic_string< char > &str, value_t &value, number_styles style, const std::locale &locale) noexcept
 Convert a string into a type.
 
template<class value_t>
bool try_parse (const std::basic_string< xtd::char16 > &str, value_t &value, number_styles style, const std::locale &locale) noexcept
 Convert a string into a type.
 
template<class value_t>
bool try_parse (const std::basic_string< xtd::char32 > &str, value_t &value, number_styles style, const std::locale &locale) noexcept
 Convert a string into a type.
 
template<class value_t>
bool try_parse (const std::basic_string< xtd::char8 > &str, value_t &value, number_styles style, const std::locale &locale) noexcept
 Convert a string into a type.
 
template<class value_t>
bool try_parse (const std::basic_string< xtd::wchar > &str, value_t &value, number_styles style, const std::locale &locale) noexcept
 Convert a string into a type.
 
template<class value_t, class char_t>
bool try_parse (const char_t *str, value_t &value, number_styles style) noexcept
 Convert a string into a type.
 
template<class value_t, class char_t>
bool try_parse (const char_t *str, value_t &value, number_styles style, const std::locale &locale) noexcept
 Convert a string into a type.
 
template<class arg_t>
void print (FILE *file, arg_t &&value)
 Writes the text representation of the specified value to the file output stream.
 
template<class ... args_t>
void print (FILE *file, const xtd::string &fmt, args_t &&... values)
 Writes the text representation of the specified list of values to the file output stream using the specified format information.
 
template<class ... args_t>
void print (FILE *file, const char *fmt, args_t &&... values)
 Writes the text representation of the specified list of values to the file output stream using the specified format information.
 
template<class ... args_t>
void print (FILE *file, const char8_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values to the file output stream using the specified format information.
 
template<class ... args_t>
void print (FILE *file, const char16_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values to the file output stream using the specified format information.
 
template<class ... args_t>
void print (FILE *file, const char32_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values to the file output stream using the specified format information.
 
template<class ... args_t>
void print (FILE *file, const wchar_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values to the file output stream using the specified format information.
 
template<class arg_t>
void print (std::ostream &os, arg_t &&value)
 Writes the text representation of the specified value to the output stream.
 
template<class ... args_t>
void print (std::ostream &os, const xtd::string &fmt, args_t &&... values)
 Writes the text representation of the specified list of values to the output stream using the specified format information.
 
template<class ... args_t>
void print (std::ostream &os, const char *fmt, args_t &&... values)
 Writes the text representation of the specified list of values to the output stream using the specified format information.
 
template<class ... args_t>
void print (std::ostream &os, const char8_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values to the output stream using the specified format information.
 
template<class ... args_t>
void print (std::ostream &os, const char16_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values to the output stream using the specified format information.
 
template<class ... args_t>
void print (std::ostream &os, const char32_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values to the output stream using the specified format information.
 
template<class ... args_t>
void print (std::ostream &os, const wchar_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values to the output stream using the specified format information.
 
template<class arg_t>
void print (arg_t &&value)
 Writes the text representation of the specified value to the standard output stream.
 
template<class ... args_t>
void print (const xtd::string &fmt, args_t &&... values)
 Writes the text representation of the specified list of values to the standard output stream using the specified format information.
 
template<class ... args_t>
void print (const char *fmt, args_t &&... values)
 Writes the text representation of the specified list of values to the standard output stream using the specified format information.
 
template<class ... args_t>
void print (const char8_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values to the standard output stream using the specified format information.
 
template<class ... args_t>
void print (const char16_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values to the standard output stream using the specified format information.
 
template<class ... args_t>
void print (const char32_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values to the standard output stream using the specified format information.
 
template<class ... args_t>
void print (const wchar_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values to the standard output stream using the specified format information.
 
void println (FILE *file)
 Writes the current line terminator to the file output stream using the specified format information.
 
template<class arg_t>
void println (FILE *file, arg_t &&value)
 Writes the text representation of the specified value, followed by the current line terminator, to the file output stream.
 
template<class ... args_t>
void println (FILE *file, const xtd::string &fmt, args_t &&... values)
 Writes the text representation of the specified list of values, followed by the current line terminator, to the file output stream using the specified format information.
 
template<class ... args_t>
void println (FILE *file, const char *fmt, args_t &&... values)
 Writes the text representation of the specified list of values, followed by the current line terminator, to the file output stream using the specified format information.
 
template<class ... args_t>
void println (FILE *file, const char8_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values, followed by the current line terminator, to the file output stream using the specified format information.
 
template<class ... args_t>
void println (FILE *file, const char16_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values, followed by the current line terminator, to the file output stream using the specified format information.
 
template<class ... args_t>
void println (FILE *file, const char32_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values, followed by the current line terminator, to the file output stream using the specified format information.
 
template<class ... args_t>
void println (FILE *file, const wchar_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values, followed by the current line terminator, to the file output stream using the specified format information.
 
void println (std::ostream &os)
 Writes the current line terminator to the output stream using the specified format information.
 
template<class arg_t>
void println (std::ostream &os, arg_t &&value)
 Writes the text representation of the specified value, followed by the current line terminator, to the output stream.
 
template<class ... args_t>
void println (std::ostream &os, const xtd::string &fmt, args_t &&... values)
 Writes the text representation of the specified list of values, followed by the current line terminator, to the output stream using the specified format information.
 
template<class ... args_t>
void println (std::ostream &os, const char *fmt, args_t &&... values)
 Writes the text representation of the specified list of values, followed by the current line terminator, to the output stream using the specified format information.
 
template<class ... args_t>
void println (std::ostream &os, const char8_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values, followed by the current line terminator, to the output stream using the specified format information.
 
template<class ... args_t>
void println (std::ostream &os, const char16_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values, followed by the current line terminator, to the output stream using the specified format information.
 
template<class ... args_t>
void println (std::ostream &os, const char32_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values, followed by the current line terminator, to the output stream using the specified format information.
 
template<class ... args_t>
void println (std::ostream &os, const wchar_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values, followed by the current line terminator, to the output stream using the specified format information.
 
void println ()
 Writes the current line terminator to the standard output stream using the specified format information.
 
template<class arg_t>
void println (arg_t &&value)
 Writes the text representation of the specified value, followed by the current line terminator, to the standard output stream.
 
template<class ... args_t>
void println (const xtd::string &fmt, args_t &&... values)
 Writes the text representation of the specified list of values, followed by the current line terminator, to the standard output stream using the specified format information.
 
template<class ... args_t>
void println (const char *fmt, args_t &&... values)
 Writes the text representation of the specified list of values, followed by the current line terminator, to the standard output stream using the specified format information.
 
template<class ... args_t>
void println (const char8_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values, followed by the current line terminator, to the standard output stream using the specified format information.
 
template<class ... args_t>
void println (const char16_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values, followed by the current line terminator, to the standard output stream using the specified format information.
 
template<class ... args_t>
void println (const char32_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values, followed by the current line terminator, to the standard output stream using the specified format information.
 
template<class ... args_t>
void println (const wchar_t *fmt, args_t &&... values)
 Writes the text representation of the specified list of values, followed by the current line terminator, to the standard output stream using the specified format information.
 
template<class ... args_t>
xtd::string sprintf (const xtd::string &fmt, args_t &&... args)
 Writes the text representation of the specified arguments list, to basic_string using the specified format information.
 
template<class ... args_t>
xtd::u8string sprintf (const xtd::u8string &fmt, args_t &&... args)
 Writes the text representation of the specified arguments list, to basic_string using the specified format information.
 
template<class ... args_t>
xtd::u16string sprintf (const xtd::u16string &fmt, args_t &&... args)
 Writes the text representation of the specified arguments list, to basic_string using the specified format information.
 
template<class ... args_t>
xtd::u32string sprintf (const xtd::u32string &fmt, args_t &&... args)
 Writes the text representation of the specified arguments list, to basic_string using the specified format information.
 
template<class ... args_t>
xtd::wstring sprintf (const xtd::wstring &fmt, args_t &&... args)
 Writes the text representation of the specified arguments list, to basic_string using the specified format information.
 
xtd::string to_string (int val)
 Converts a signed integer to xtd::string.
 
xtd::string to_string (unsigned val)
 Converts an unsigned integer to xtd::string.
 
xtd::string to_string (long val)
 Converts a signed integer to xtd::string.
 
xtd::string to_string (unsigned long val)
 Converts an unsigned integer to xtd::string.
 
xtd::string to_string (long long val)
 Converts a signed integer to xtd::string.
 
xtd::string to_string (unsigned long long val)
 Converts an unsigned integer to xtd::string.
 
string to_string (float val)
 Converts a floating point to xtd::string.
 
xtd::string to_string (double val)
 Converts a floating point integer to xtd::string.
 
xtd::string to_string (long double val)
 Converts a floating point to xtd::string.
 
template<class type_t>
xtd::string to_string (type_t val)
 Converts a type_t to xtd::string.
 
template<class type_t>
xtd::string to_ustring (type_t val)
 Converts a type_t to xtd::string.
 
template<>
xtd::time_span parse< time_span > (const std::string &str)
 Converts the string representation of a time interval to its xtd::time_span equivalent.
 
template<class value_t>
std::string to_string (const value_t &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::string to_string (const bool &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::string to_string (const sbyte &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::string to_string (const char &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::string to_string (const unsigned char &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::string to_string (const short &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::string to_string (const unsigned short &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::string to_string (const int &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::string to_string (const unsigned int &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::string to_string (const long &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::string to_string (const unsigned long &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::string to_string (const long long &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::string to_string (const unsigned long long &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::string to_string (const float &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::string to_string (const double &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::string to_string (const long double &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::string to_string (const std::chrono::system_clock::time_point &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::string to_string (const std::tm &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<class type_t, class period_t>
std::string to_string (const std::chrono::duration< type_t, period_t > &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::string to_string (const char8 &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::string to_string (const char16 &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::string to_string (const char32 &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::string to_string (const wchar &value, const std::string &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<class value_t>
std::string to_string (const value_t &value, const std::string &fmt)
 Convert a specified value into a string with specified format.
 
template<class value_t>
std::wstring to_string (const value_t &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::wstring to_string (const bool &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::wstring to_string (const sbyte &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::wstring to_string (const char &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::wstring to_string (const unsigned char &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::wstring to_string (const short &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::wstring to_string (const unsigned short &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::wstring to_string (const int &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::wstring to_string (const unsigned int &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::wstring to_string (const long &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::wstring to_string (const unsigned long &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::wstring to_string (const long long &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::wstring to_string (const unsigned long long &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::wstring to_string (const float &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::wstring to_string (const double &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::wstring to_string (const long double &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::wstring to_string (const std::chrono::system_clock::time_point &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::wstring to_string (const std::tm &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<class type_t, class period_t>
std::wstring to_string (const std::chrono::duration< type_t, period_t > &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::wstring to_string (const std::wstring &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::wstring to_string (const char8 &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::wstring to_string (const char16 &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::wstring to_string (const char32 &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<>
std::wstring to_string (const wchar &value, const std::wstring &fmt, const std::locale &loc)
 Convert a specified value into a string with specified format and locale.
 
template<class value_t>
std::wstring to_string (const value_t &value, const std::wstring &fmt)
 Convert a specified value into a string with specified format.
 
template<class ... args_t>
void unused (args_t &&... args)
 It may be used to suppress the "unused variable" or "unused local typedefs" compiler warnings when the variable or typedef can't be removed or commented out, e.g. when some blocks of the code are conditionally activated.
 
template<>
drawing::color parse< drawing::color > (const std::string &str)
 Creates a xtd::drawing::color class from the specified name.
 
template<>
drawing::point parse< drawing::point > (const std::string &str)
 

Variables

xtd::debugstreambuf cdebugstreambuf
 A xtd::debugstreambuf variable used by xtd::cdebug ostream.
 
const intptr invalid_handle
 Represents an invalid native operating system handle. This field is read-only.
 
null_ptr null
 Represents a null pointer value.
 
constexpr null_opt nullopt
 Represents a nullopt value. Used to indicate that an std::optional does not contain a value.
 
template<class type_t, xtd::size extent>
const span< type_t, extent > span< type_t, extent >::empty_span
 

Aliases

template<class type_t>
using type_to_array_t
 Represents the type to array type.
 
using boolean_object
 Represent a boxed bool.
 
using size_object
 Represent a boxed size_t.
 
using string_comparer
 Represents a string comparison operation that uses specific case and culture-based or ordinal comparison rules.
 
using u16string_comparer
 Represents a u16string comparison operation that uses specific case and culture-based or ordinal comparison rules.
 
using u32string_comparer
 Represents a u32string comparison operation that uses specific case and culture-based or ordinal comparison rules.
 
using u8string_comparer
 Represents a u8string comparison operation that uses specific case and culture-based or ordinal comparison rules.
 
using wstring_comparer
 Represents a wstring comparison operation that uses specific case and culture-based or ordinal comparison rules.
 

Native types

using boolean
 Represents a boolean.
 
using byte
 Represents a 8-bit unsigned integer.
 
using char_
 Represents a character.
 
using char16
 Represents a 16-bit unicode character.
 
using char32
 Represents a 32-bit unicode character.
 
using char8
 Represents a 8-bit unicode character.
 
using decimal
 Represents a decimal-precision floating-point number.
 
using double_
 Represents a double-precision floating-point number.
 
using int16
 Represents a 16-bit signed integer.
 
using int32
 Represents a 32-bit signed integer.
 
using int64
 Represents a 64-bit signed integer.
 
using intptr
 Represent a pointer or a handle.
 
template<class type_t>
using ptr
 The xtd::ptr object is a shared pointer.
 
using ptrdiff
 Represent the signed integer type of the result of subtracting two pointers.
 
template<class type_t>
using ref
 The xtd::ref object is a reference wrapper.
 
using sbyte
 Represents a 8-bit signed integer.
 
using single
 Represents a single-precision floating-point number.
 
using size
 Represents a size of any object in bytes.
 
using slong
 Represents a 32-bit or 64-bit signed integer.
 
template<class type_t>
using sptr
 The xtd::sptr object is a shared pointer.
 
using type
 Stores information about a type.
 
using uint16
 Represents a 16-bit unsigned integer.
 
using uint32
 Represents a 32-bit unsigned integer.
 
using uint64
 Represents a 64-bit unsigned integer.
 
using uintptr
 Represent a pointer or a handle.
 
using ulong
 Represents a 32-bit or 64-bit unsigned integer.
 
template<class type_t>
using uptr
 The xtd::uptr object is a unique pointer.
 
using wchar
 Represents a wide character.
 
template<class type_t>
using wptr
 The xtd::uptr object is a weak pointer.
 
template<class type_t>
const reference_wrapper_object< type_t > reference_wrapper_object< type_t >::empty
 

Boxed types

using byte_object
 Represent a boxed byte.
 
using char16_object
 Represent a boxed char16.
 
using char32_object
 Represent a boxed char32.
 
using char8_object
 Represent a boxed char8.
 
using char_object
 Represent a boxed char.
 
using decimal_object
 Represent a boxed decimal.
 
using double_object
 Represent a boxed double.
 
using int16_object
 Represent a boxed int16.
 
using int32_object
 Represent a boxed int32.
 
using int64_object
 Represent a boxed int64.
 
using intptr_object
 Represent a boxed intptr.
 
using ptrdiff_object
 Represent a boxed intptr.
 
using sbyte_object
 Represent a boxed sbyte.
 
using single_object
 Represent a boxed single.
 
using slong_object
 Represent a boxed int16.
 
using tick
 Represents a tick (1 tick = 100 nanoseconds).
 
using ticks
 Represents a tick duration.
 
using uint16_object
 Represent a boxed uint16.
 
using uint32_object
 Represent a boxed uint32.
 
using uint64_object
 Represent a boxed uint64.
 
using uintptr_object
 Represent a boxed uintptr.
 
using ulong_object
 Represent a boxed ulong.
 
using wchar_object
 Represent a boxed wchar.
 

Static Fields

constexpr xtd::size dynamic_extent
 Represents the constant of type xtd::size signifying that the span has dynamic extent.
 

Public Properties

const_reference back () const
 Gets the last element.
 
const_iterator begin () const
 Returns an iterator to the beginning.
 
const_iterator cbegin () const
 Returns an iterator to the beginning.
 
const_iterator cend () const
 Returns an iterator to the end.
 
const_reverse_iterator crbegin () const
 Returns a reverse iterator to the beginning.
 
const_reverse_iterator crend () const
 Returns a reverse iterator to the end.
 
constexpr const_pointer data () const noexcept
 Gets direct access to the underlying contiguous storage.
 
constexpr bool empty () const noexcept
 Returns a value that indicates whether the current xtd::read_only_span <type_t> is empty.
 
const_iterator end () const
 Returns an iterator to the end.
 
const_reference front () const
 Gets the first element.
 
constexpr bool is_empty () const noexcept
 Returns a value that indicates whether the current xtd::read_only_span <type_t> is empty.
 
constexpr size_type length () const noexcept
 Returns the length of the current read_only_span.
 
const_reverse_iterator rbegin () const
 Returns a reverse iterator to the beginning.
 
const_reverse_iterator rend () const
 Returns a reverse iterator to the end.
 
constexpr size_type size_bytes () const noexcept
 Returns the size of the sequence in bytes.
 

Static Methods

template<class type_t>
auto boxing (const type_t &value) noexcept
 Allows to box an object.
 
template<class type_t, class ... args_t>
box< type_t > boxing (args_t &&...args) noexcept
 Allows to box an object.
 
template<class type_t, class function_t>
void register_any_stringer (const function_t &func)
 Register an any stringer method for a specified type.
 
template<class type_t>
type_t unboxing (const xtd::box< type_t > &value) noexcept
 Allows to unbox an object.
 

Character suffixes

char32 operator""_c (unsigned long long c)
 Used to convert specified value into char32.
 
char32 operator""_c (char c)
 Used to convert specified value into char32.
 
char32 operator""_c (char8 c)
 Used to convert specified value into char32.
 
char32 operator""_c (char16 c)
 Used to convert specified value into char32.
 
char32 operator""_c (char32 c)
 Used to convert specified value into char32.
 
char32 operator""_c (wchar c)
 Used to convert specified value into char32.
 

Byte suffixes

xtd::byte operator""_b (long double n)
 Used to convert specified value into byte.
 
xtd::byte operator""_b (unsigned long long n)
 Used to convert specified value into byte.
 
xtd::byte operator""_b (const char *s, std::size_t n)
 Used to convert specified value into byte.
 
xtd::byte operator""_b (const char8_t *s, std::size_t n)
 Used to convert specified value into byte.
 
xtd::byte operator""_b (const char16_t *s, std::size_t n)
 Used to convert specified value into byte.
 
xtd::byte operator""_b (const char32_t *s, std::size_t n)
 Used to convert specified value into byte.
 
xtd::byte operator""_b (const wchar_t *s, std::size_t n)
 Used to convert specified value into byte.
 
xtd::byte operator""_u8 (long double n)
 Used to convert specified value into byte.
 
xtd::byte operator""_u8 (unsigned long long n)
 Used to convert specified value into byte.
 
xtd::byte operator""_u8 (const char *s, std::size_t n)
 Used to convert specified value into byte.
 
xtd::byte operator""_u8 (const char8_t *s, std::size_t n)
 Used to convert specified value into byte.
 
xtd::byte operator""_u8 (const char16_t *s, std::size_t n)
 Used to convert specified value into byte.
 
xtd::byte operator""_u8 (const char32_t *s, std::size_t n)
 Used to convert specified value into byte.
 
xtd::byte operator""_u8 (const wchar_t *s, std::size_t n)
 Used to convert specified value into uint16.
 

Double suffixes

double operator""_d (long double n)
 Used to convert specified value into byte.
 
double operator""_d (unsigned long long n)
 Used to convert specified value into byte.
 
double operator""_d (const char *s, std::size_t n)
 Used to convert specified value into byte.
 
double operator""_d (const char8_t *s, std::size_t n)
 Used to convert specified value into byte.
 
double operator""_d (const char16_t *s, std::size_t n)
 Used to convert specified value into byte.
 
double operator""_d (const char32_t *s, std::size_t n)
 Used to convert specified value into byte.
 
double operator""_d (const wchar_t *s, std::size_t n)
 Used to convert specified value into byte.
 

Guid suffixes

xtd::guid operator""_guid (const char *s, xtd::size n)
 Used to convert specified value into xtd::guid.
 
xtd::guid operator""_guid (const char8 *s, xtd::size n)
 Used to convert specified value into xtd::guid.
 
xtd::guid operator""_guid (const char16 *s, xtd::size n)
 Used to convert specified value into xtd::guid.
 
xtd::guid operator""_guid (const char32 *s, xtd::size n)
 Used to convert specified value into xtd::guid.
 
xtd::guid operator""_guid (const wchar *s, xtd::size n)
 Used to convert specified value into xtd::guid.
 

Int16 suffixes

int16 operator""_i16 (long double n)
 Used to convert specified value into int16.
 
int16 operator""_i16 (unsigned long long n)
 Used to convert specified value into int16.
 
int16 operator""_i16 (const char *s, std::size_t n)
 Used to convert specified value into int16.
 
int16 operator""_i16 (const char8_t *s, std::size_t n)
 Used to convert specified value into int16.
 
int16 operator""_i16 (const char16_t *s, std::size_t n)
 Used to convert specified value into int16.
 
int16 operator""_i16 (const char32_t *s, std::size_t n)
 Used to convert specified value into int16.
 
int16 operator""_i16 (const wchar_t *s, std::size_t n)
 Used to convert specified value into int16.
 
int16 operator""_s16 (long double n)
 Used to convert specified value into int16.
 
int16 operator""_s16 (unsigned long long n)
 Used to convert specified value into int16.
 
int16 operator""_s16 (const char *s, std::size_t n)
 Used to convert specified value into int16.
 
int16 operator""_s16 (const char8_t *s, std::size_t n)
 Used to convert specified value into int16.
 
int16 operator""_s16 (const char16_t *s, std::size_t n)
 Used to convert specified value into int16.
 
int16 operator""_s16 (const char32_t *s, std::size_t n)
 Used to convert specified value into int16.
 
int16 operator""_s16 (const wchar_t *s, std::size_t n)
 Used to convert specified value into int16.
 

Int32 suffixes

int32 operator""_i32 (long double n)
 Used to convert specified value into int32.
 
int32 operator""_i32 (unsigned long long n)
 Used to convert specified value into int32.
 
int32 operator""_i32 (const char *s, std::size_t n)
 Used to convert specified value into int32.
 
int32 operator""_i32 (const char8_t *s, std::size_t n)
 Used to convert specified value into int32.
 
int32 operator""_i32 (const char16_t *s, std::size_t n)
 Used to convert specified value into int32.
 
int32 operator""_i32 (const char32_t *s, std::size_t n)
 Used to convert specified value into int32.
 
int32 operator""_i32 (const wchar_t *s, std::size_t n)
 Used to convert specified value into int32.
 
int32 operator""_s32 (long double n)
 Used to convert specified value into int32.
 
int32 operator""_s32 (unsigned long long n)
 Used to convert specified value into int32.
 
int32 operator""_s32 (const char *s, std::size_t n)
 Used to convert specified value into int32.
 
int32 operator""_s32 (const char8_t *s, std::size_t n)
 Used to convert specified value into int32.
 
int32 operator""_s32 (const char16_t *s, std::size_t n)
 Used to convert specified value into int32.
 
int32 operator""_s32 (const char32_t *s, std::size_t n)
 Used to convert specified value into int32.
 
int32 operator""_s32 (const wchar_t *s, std::size_t n)
 Used to convert specified value into int32.
 

Int64 suffixes

int64 operator""_i64 (long double n)
 Used to convert specified value into int64.
 
int64 operator""_i64 (unsigned long long n)
 Used to convert specified value into int64.
 
int64 operator""_i64 (const char *s, std::size_t n)
 Used to convert specified value into int64.
 
int64 operator""_i64 (const char8_t *s, std::size_t n)
 Used to convert specified value into int64.
 
int64 operator""_i64 (const char16_t *s, std::size_t n)
 Used to convert specified value into int64.
 
int64 operator""_i64 (const char32_t *s, std::size_t n)
 Used to convert specified value into int64.
 
int64 operator""_i64 (const wchar_t *s, std::size_t n)
 Used to convert specified value into int64.
 
int64 operator""_s64 (long double n)
 Used to convert specified value into int64.
 
int64 operator""_s64 (unsigned long long n)
 Used to convert specified value into int64.
 
int64 operator""_s64 (const char *s, std::size_t n)
 Used to convert specified value into int64.
 
int64 operator""_s64 (const char8_t *s, std::size_t n)
 Used to convert specified value into int64.
 
int64 operator""_s64 (const char16_t *s, std::size_t n)
 Used to convert specified value into int64.
 
int64 operator""_s64 (const char32_t *s, std::size_t n)
 Used to convert specified value into int64.
 
int64 operator""_s64 (const wchar_t *s, std::size_t n)
 Used to convert specified value into int64.
 

IP address suffixes

xtd::net::ip_address operator""_ip (const char *s, xtd::size n)
 Used to convert specified value into xtd::string.
 
xtd::net::ip_address operator""_ip (const char8 *s, xtd::size n)
 Used to convert specified value into xtd::string.
 
xtd::net::ip_address operator""_ip (const char16 *s, xtd::size n)
 Used to convert specified value into xtd::string.
 
xtd::net::ip_address operator""_ip (const char32 *s, xtd::size n)
 Used to convert specified value into xtd::string.
 
xtd::net::ip_address operator""_ip (const wchar *s, xtd::size n)
 Used to convert specified value into xtd::string.
 

SByte suffixes

sbyte operator""_i8 (long double n)
 Used to convert specified value into sbyte.
 
sbyte operator""_i8 (unsigned long long n)
 Used to convert specified value into sbyte.
 
sbyte operator""_i8 (const char *s, std::size_t n)
 Used to convert specified value into sbyte.
 
sbyte operator""_i8 (const char8_t *s, std::size_t n)
 Used to convert specified value into sbyte.
 
sbyte operator""_i8 (const char16_t *s, std::size_t n)
 Used to convert specified value into sbyte.
 
sbyte operator""_i8 (const char32_t *s, std::size_t n)
 Used to convert specified value into sbyte.
 
sbyte operator""_i8 (const wchar_t *s, std::size_t n)
 Used to convert specified value into sbyte.
 
sbyte operator""_s8 (long double n)
 Used to convert specified value into sbyte.
 
sbyte operator""_s8 (unsigned long long n)
 Used to convert specified value into sbyte.
 
sbyte operator""_s8 (const char *s, std::size_t n)
 Used to convert specified value into sbyte.
 
sbyte operator""_s8 (const char8_t *s, std::size_t n)
 Used to convert specified value into sbyte.
 
sbyte operator""_s8 (const char16_t *s, std::size_t n)
 Used to convert specified value into sbyte.
 
sbyte operator""_s8 (const char32_t *s, std::size_t n)
 Used to convert specified value into sbyte.
 
sbyte operator""_s8 (const wchar_t *s, std::size_t n)
 Used to convert specified value into sbyte.
 

Single suffixes

float operator""_f (long double n)
 Used to convert specified value into byte.
 
float operator""_f (unsigned long long n)
 Used to convert specified value into byte.
 
float operator""_f (const char *s, std::size_t n)
 Used to convert specified value into byte.
 
float operator""_f (const char8_t *s, std::size_t n)
 Used to convert specified value into byte.
 
float operator""_f (const char16_t *s, std::size_t n)
 Used to convert specified value into byte.
 
float operator""_f (const char32_t *s, std::size_t n)
 Used to convert specified value into byte.
 
float operator""_f (const wchar_t *s, std::size_t n)
 Used to convert specified value into byte.
 

Size suffixes

xtd::size operator""_uz (long double n)
 Used to convert specified value into xtd::size.
 
xtd::size operator""_uz (unsigned long long n)
 Used to convert specified value into xtd::size.
 
xtd::size operator""_uz (const char *s, xtd::size n)
 Used to convert specified value into xtd::size.
 
xtd::size operator""_uz (const char8_t *s, xtd::size n)
 Used to convert specified value into xtd::size.
 
xtd::size operator""_uz (const char16_t *s, xtd::size n)
 Used to convert specified value into xtd::size.
 
xtd::size operator""_uz (const char32_t *s, xtd::size n)
 Used to convert specified value into xtd::size.
 
xtd::size operator""_uz (const wchar_t *s, xtd::size n)
 Used to convert specified value into xtd::size.
 
xtd::size operator""_z (long double n)
 Used to convert specified value into signed xtd::size.
 
xtd::size operator""_z (unsigned long long n)
 Used to convert specified value into signed xtd::size.
 
xtd::size operator""_z (const char *s, xtd::size n)
 Used to convert specified value into signed xtd::size.
 
xtd::size operator""_z (const char8_t *s, xtd::size n)
 Used to convert specified value into signed xtd::size.
 
xtd::size operator""_z (const char16_t *s, xtd::size n)
 Used to convert specified value into signed xtd::size.
 
xtd::size operator""_z (const char32_t *s, xtd::size n)
 Used to convert specified value into signed xtd::size.
 
xtd::size operator""_z (const wchar_t *s, xtd::size n)
 Used to convert specified value into signed xtd::size.
 

String suffixes

xtd::string operator""_s (const char *s, xtd::size n)
 Used to convert specified value into xtd::string.
 
xtd::string operator""_s (const char8 *s, xtd::size n)
 Used to convert specified value into xtd::string.
 
xtd::string operator""_s (const char16 *s, xtd::size n)
 Used to convert specified value into xtd::string.
 
xtd::string operator""_s (const char32 *s, xtd::size n)
 Used to convert specified value into xtd::string.
 
xtd::string operator""_s (const wchar *s, xtd::size n)
 Used to convert specified value into xtd::string.
 
xtd::string operator""_sb (long double s)
 Used to convert the specified value to xtd::string with a binary format.
 
xtd::string operator""_sb (unsigned long long s)
 Used to convert the specified value to xtd::string with a binary format.
 
xtd::string operator""_sb2 (long double s)
 Used to convert the specified value to xtd::string with a binary format with two digits.
 
xtd::string operator""_sb2 (unsigned long long s)
 Used to convert the specified value to xtd::string with a binary format with two digits.
 
xtd::string operator""_sb4 (long double s)
 Used to convert the specified value to xtd::string with a binary format with four digits.
 
xtd::string operator""_sb4 (unsigned long long s)
 Used to convert the specified value to xtd::string with a binary format with four digits.
 
xtd::string operator""_sb8 (long double s)
 Used to convert the specified value to xtd::string with a binary format with eight digits.
 
xtd::string operator""_sb8 (unsigned long long s)
 Used to convert the specified value to xtd::string with a binary format with eight digits.
 
xtd::string operator""_sb16 (long double s)
 Used to convert the specified value to xtd::string with a binary format with sixteen digits.
 
xtd::string operator""_sb16 (unsigned long long s)
 Used to convert the specified value to xtd::string with a binary format with sixteen digits.
 
xtd::string operator""_sb32 (long double s)
 Used to convert the specified value to xtd::string with a binary format with thirty two digits.
 
xtd::string operator""_sb32 (unsigned long long s)
 Used to convert the specified value to xtd::string with a binary format with thirty two digits.
 
xtd::string operator""_sb64 (long double s)
 Used to convert the specified value to xtd::string with a binary format with sixty four digits.
 
xtd::string operator""_sb64 (unsigned long long s)
 Used to convert the specified value to xtd::string with a binary format with sixty four digits.
 
xtd::string operator""_sd (long double s)
 Used to convert the specified value to xtd::string with a decimal format.
 
xtd::string operator""_sd (unsigned long long s)
 Used to convert the specified value to xtd::string with a decimal format.
 
xtd::string operator""_sx (long double s)
 Used to convert specified value into xtd::string.
 
xtd::string operator""_sx (unsigned long long s)
 Used to convert specified value into xtd::string.
 
xtd::string operator""_sx2 (unsigned long long s)
 Used to convert specified value into xtd::string.
 
xtd::string operator""_sx4 (unsigned long long s)
 Used to convert specified value into xtd::string.
 
xtd::string operator""_sx8 (unsigned long long s)
 Used to convert specified value into xtd::string.
 
xtd::string operator""_sx16 (unsigned long long s)
 Used to convert specified value into xtd::string.
 
xtd::string operator""_sX (long double s)
 Used to convert specified value into xtd::string.
 
xtd::string operator""_sX (unsigned long long s)
 Used to convert specified value into xtd::string.
 
xtd::string operator""_sX2 (unsigned long long s)
 Used to convert specified value into xtd::string.
 
xtd::string operator""_sX4 (unsigned long long s)
 Used to convert specified value into xtd::string.
 
xtd::string operator""_sX8 (unsigned long long s)
 Used to convert specified value into xtd::string.
 
xtd::string operator""_sX16 (unsigned long long s)
 Used to convert specified value into xtd::string.
 

Time span suffixes

xtd::time_span operator""_h (unsigned long long h)
 Used to convert the specified value as hours to xtd::time_span.
 
xtd::time_span operator""_m (unsigned long long m)
 Used to convert the specified value as minutes to xtd::time_span.
 
xtd::time_span operator""_min (unsigned long long min)
 Used to convert the specified value as minutes to xtd::time_span.
 
xtd::time_span operator""_ms (unsigned long long ms)
 Used to convert the specified value as millisconds to xtd::time_span.
 
xtd::time_span operator""_ns (unsigned long long ns)
 Used to convert the specified value as nanoseconds to xtd::time_span.
 
xtd::time_span operator""_s (unsigned long long s)
 Used to convert the specified value as seconds to xtd::time_span.
 
xtd::time_span operator""_t (unsigned long long t)
 Used to convert the specified value as tiks to xtd::time_span.
 
xtd::time_span operator""_us (unsigned long long us)
 Used to convert the specified value as microseconds to xtd::time_span.
 
xtd::time_span operator""_ts (const char *s, xtd::size n)
 Used to convert specified value into xtd::time_span.
 
xtd::time_span operator""_ts (const char8 *s, xtd::size n)
 Used to convert specified value into xtd::time_span.
 
xtd::time_span operator""_ts (const char16 *s, xtd::size n)
 Used to convert specified value into xtd::time_span.
 
xtd::time_span operator""_ts (const char32 *s, xtd::size n)
 Used to convert specified value into xtd::time_span.
 
xtd::time_span operator""_ts (const wchar *s, xtd::size n)
 Used to convert specified value into xtd::time_span.
 

Translator suffixes

const char * operator""_t (const char *s, xtd::size n) noexcept
 Used to translate specified string into locale.
 
xtd::string operator""_t (const char8 *s, xtd::size n) noexcept
 Used to translate specified string into locale.
 
xtd::string operator""_t (const char16 *s, xtd::size n) noexcept
 Used to translate specified string into locale.
 
xtd::string operator""_t (const char32 *s, xtd::size n) noexcept
 Used to translate specified string into locale.
 
xtd::string operator""_t (const wchar *s, xtd::size n) noexcept
 Used to translate specified string into locale.
 

UInt16 suffixes

uint16 operator""_u16 (long double n)
 Used to convert specified value into uint16.
 
uint16 operator""_u16 (unsigned long long n)
 Used to convert specified value into uint16.
 
uint16 operator""_u16 (const char *s, std::size_t n)
 Used to convert specified value into uint16.
 
uint16 operator""_u16 (const char8_t *s, std::size_t n)
 Used to convert specified value into uint16.
 
uint16 operator""_u16 (const char16_t *s, std::size_t n)
 Used to convert specified value into uint16.
 
uint16 operator""_u16 (const char32_t *s, std::size_t n)
 Used to convert specified value into uint16.
 
uint16 operator""_u16 (const wchar_t *s, std::size_t n)
 Used to convert specified value into uint16.
 

UInt32 suffixes

uint32 operator""_u32 (long double n)
 Used to convert specified value into uint32.
 
uint32 operator""_u32 (unsigned long long n)
 Used to convert specified value into uint32.
 
uint32 operator""_u32 (const char *s, std::size_t n)
 Used to convert specified value into uint32.
 
uint32 operator""_u32 (const char8_t *s, std::size_t n)
 Used to convert specified value into uint32.
 
uint32 operator""_u32 (const char16_t *s, std::size_t n)
 Used to convert specified value into uint32.
 
uint32 operator""_u32 (const char32_t *s, std::size_t n)
 Used to convert specified value into uint32.
 
uint32 operator""_u32 (const wchar_t *s, std::size_t n)
 Used to convert specified value into uint32.
 

UInt64 suffixes

uint64 operator""_u64 (long double n)
 Used to convert specified value into uint64.
 
uint64 operator""_u64 (unsigned long long n)
 Used to convert specified value into uint64.
 
uint64 operator""_u64 (const char *s, std::size_t n)
 Used to convert specified value into uint64.
 
uint64 operator""_u64 (const char8_t *s, std::size_t n)
 Used to convert specified value into uint64.
 
uint64 operator""_u64 (const char16_t *s, std::size_t n)
 Used to convert specified value into uint64.
 
uint64 operator""_u64 (const char32_t *s, std::size_t n)
 Used to convert specified value into uint64.
 
uint64 operator""_u64 (const wchar_t *s, std::size_t n)
 Used to convert specified value into uint64.
 

URI suffixes

xtd::uri operator""_uri (const char *s, xtd::size n)
 Used to convert specified value into xtd::uri.
 
xtd::uri operator""_uri (const char8 *s, xtd::size n)
 Used to convert specified value into xtd::uri.
 
xtd::uri operator""_uri (const char16 *s, xtd::size n)
 Used to convert specified value into xtd::uri.
 
xtd::uri operator""_uri (const char32 *s, xtd::size n)
 Used to convert specified value into xtd::uri.
 
xtd::uri operator""_uri (const wchar *s, xtd::size n)
 Used to convert specified value into xtd::uri.
 

Version suffixes

xtd::version operator""_vers (const char *s, xtd::size n)
 Used to convert specified value into xtd::version.
 
xtd::version operator""_vers (const char8 *s, xtd::size n)
 Used to convert specified value into xtd::version.
 
xtd::version operator""_vers (const char16 *s, xtd::size n)
 Used to convert specified value into xtd::version.
 
xtd::version operator""_vers (const char32 *s, xtd::size n)
 Used to convert specified value into xtd::version.
 
xtd::version operator""_vers (const wchar *s, xtd::size n)
 Used to convert specified value into xtd::version.
 

Public Constructors

Creates an empty xtd::read_only_span whose xtd::read_only_span::data is null and xtd::read_only_span::size is 0. template <xtd::size count = 0> constexpr read_only_span() : data_ {xtd::null}, length_ {0} {}

/

/ /

/

/ Creates an xtd::read_only_span with specified iterators. /

Parameters
firstThe iterator to the first element of the sequence. /
lastThe iterator to the last element of the sequence. template<class iterator_t> constexpr read_only_span(iterator_t first, iterator_t last) : data_ {&(first)}, length_ {extent != dynamic_extent ? extent : static_cast<size_type>(std::distance(first, last))} {} / Conflict with read_only_span(collection_t& items, xtd::size count) / Creates an xtd::read_only_span with specified iterator and count. /
firstThe iterator to the first element of the sequence. /
countThe number of elements in the iteration. template<class iterator_t> read_only_span(iterator_t first, xtd::size count) : data_ {&(*first)}, length_ {extent != dynamic_extent ? extent : count} {}
template<xtd::size len>
constexpr read_only_span (const element_type(&array)[len]) noexcept
 Creates an xtd::read_only_span with specified native array.
 
template<class array_type_t, xtd::size len>
constexpr read_only_span (const std::array< array_type_t, len > &array) noexcept
 Creates an xtd::read_only_span with specified std::array.
 
template<class range_t>
constexpr read_only_span (range_t &&range) noexcept
 Creates an xtd::read_only_span with specified range.
 
constexpr read_only_span (std::initializer_list< type_t > items) noexcept
 Creates an xtd::read_only_span with specified initializer list.
 
template<class collection_t>
constexpr read_only_span (const collection_t &items, size_type length)
 Creates an xtd::read_only_span with specified collection and count.
 
template<class collection_t>
constexpr read_only_span (const collection_t &items, size_type start, size_type length)
 Creates an xtd::read_only_span with specified collection, offest and count.
 
constexpr read_only_span (const type_t *data, size_type length)
 Creates an xtd::read_only_span with specified data pointer and count.
 

Public Methods

const_reference at (size_type pos) const
 Gets the specified element with bounds checking.
 
template<xtd::size length>
void copy_to (span< type_t, length > &destination) const
 Copies the contents of this xtd::read_only_span <type_t> into a destination xtd:span <type_t>.
 
bool equals (const object &obj) const noexcept override
 Determines whether the specified object is equal to the current object.
 
bool equals (const read_only_span &rhs) const noexcept override
 Indicates whether the current object is equal to another object of the same type.
 
template<xtd::size count>
read_only_span< type_t, count > first () const
 Obtains a subspan consisting of the first count elements of the sequence.
 
read_only_span< type_t > first (xtd::size count) const
 Obtains a subspan consisting of the first count elements of the sequence.
 
xtd::size get_hash_code () const noexcept override
 Serves as a hash function for a particular type.
 
template<xtd::size count>
read_only_span< type_t, count > last () const
 Obtains a subspan consisting of the last N elements of the sequence.
 
read_only_span< type_t > last (xtd::size count) const
 Obtains a subspan consisting of the last N elements of the sequence.
 
template<xtd::size start, size_type lenght = xtd::dynamic_extent>
read_only_span< type_t > slice () const
 Forms a slice out of the current read_only_span starting at a specified index for a specified length.
 
read_only_span< type_t > slice (size_type start) const
 Forms a slice out of the current read_only_span that begins at a specified index.
 
read_only_span< type_t > slice (size_type start, size_type length) const
 Forms a slice out of the current read_only_span starting at a specified index for a specified length.
 
template<xtd::size offset, size_type count = xtd::dynamic_extent>
read_only_span< type_t > subspan () const
 Forms a subspan of the current read_only_span starting at a specified index for a specified length.
 
read_only_span< type_t > subspan (size_type offset, size_type count=xtd::dynamic_extent) const
 Forms a subspan of the current read_only_span starting at a specified index for a specified length.
 
xtd::array< std::remove_cv_t< type_t > > to_array () const noexcept
 Copies the contents of this read_only_span into a new array.
 
string to_string () const noexcept override
 Returns the string representation of this xtd::read_only_span <type_t> object.
 
template<xtd::size length>
bool try_copy_to (span< type_t, length > &destination) const noexcept
 Attempts to copy the current xtd::read_only_span <type_t> to a destination xtd::read_only_span <type_t> and returns a value that indicates whether the copy operation succeeded.
 

Public Operators

const_reference operator[] (size_type index) const
 Gets the element at the specified zero-based index.
 

Color suffixes

xtd::drawing::color operator""_color (const char *s, xtd::size n)
 Used to convert specified value into xtd::drawing::color.
 
xtd::drawing::color operator""_color (const char8 *s, xtd::size n)
 Used to convert specified value into xtd::drawing::color.
 
xtd::drawing::color operator""_color (const char16 *s, xtd::size n)
 Used to convert specified value into xtd::drawing::color.
 
xtd::drawing::color operator""_color (const char32 *s, xtd::size n)
 Used to convert specified value into xtd::drawing::color.
 
xtd::drawing::color operator""_color (const wchar *s, xtd::size n)
 Used to convert specified value into xtd::drawing::color.
 

Image suffixes

xtd::drawing::image operator""_image (const char *s, xtd::size n)
 Used to convert specified value into xtd::drawing::image.
 
xtd::drawing::image operator""_image (const char8 *s, xtd::size n)
 Used to convert specified value into xtd::drawing::image.
 
xtd::drawing::image operator""_image (const char16 *s, xtd::size n)
 Used to convert specified value into xtd::drawing::image.
 
xtd::drawing::image operator""_image (const char32 *s, xtd::size n)
 Used to convert specified value into xtd::drawing::image.
 
xtd::drawing::image operator""_image (const wchar *s, xtd::size n)
 Used to convert specified value into xtd::drawing::image.
 

Country suffixes

xtd::forms::country operator""_country (const char *s, xtd::size n)
 Used to convert specified value into xtd::forms::country.
 
xtd::forms::country operator""_country (const char8 *s, xtd::size n)
 Used to convert specified value into xtd::forms::country.
 
xtd::forms::country operator""_country (const char16 *s, xtd::size n)
 Used to convert specified value into xtd::forms::country.
 
xtd::forms::country operator""_country (const char32 *s, xtd::size n)
 Used to convert specified value into xtd::forms::country.
 
xtd::forms::country operator""_country (const wchar *s, xtd::size n)
 Used to convert specified value into xtd::forms::country.
 

Function Documentation

◆ as_const()

template<class type_t>
std::add_const_t< type_t > & xtd::as_const ( type_t & type)
constexprnoexcept

Obtains a reference to const to its argument.

Parameters
typeThe referecne of type.
Returns
The const reference of type.
Remarks
Forms lvalue reference to const type of type.

◆ create_ref()

template<class type_t>
ref< type_t > xtd::create_ref ( ref< type_t > arg)
noexcept

xtd::new_uptr operator. This operator creates a xtd::ref object.

Library
xtd.core
Examples
this is example shows to use xtd::new_uptr with xtd::version class
version ver = version {1, 2, 3};
ref<version> ver_ref = create_ref(ver);
console::write_line("version = {}", ver_ref.to_string());
static void write_line()
Writes the current line terminator to the standard output stream using the specified format informati...
Represents the version number of an assembly, operating system, or the xtd. This class cannot be inhe...
Definition version.hpp:114
xtd::reference_wrapper_object< type_t > ref
The xtd::ref object is a reference wrapper.
Definition ref.hpp:25
ref< const type_t > create_ref(ref< type_t > arg) noexcept
xtd::new_uptr operator. This operator creates a xtd::ref object.
Definition create_cref.hpp:38
Remarks
The xtd::new_uptr is equivalent to std::ref.

◆ print() [1/21]

template<class arg_t>
void xtd::print ( FILE * file,
arg_t && value )

Writes the text representation of the specified value to the file output stream.

Template Parameters
arg_tThe type of the value to write.
Parameters
fileA file output stream.
valueThe value to write,
Exceptions
xtd::null_pointer_exceptionthe `file`pointer is null.

◆ print() [2/21]

template<class ... args_t>
void xtd::print ( FILE * file,
const xtd::string & fmt,
args_t &&... values )

Writes the text representation of the specified list of values to the file output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fileA file output stream.
fmtA composite format string.
valuesValues to write,
Exceptions
xtd::null_pointer_exceptionthe `file`pointer is null.

◆ print() [3/21]

template<class ... args_t>
void xtd::print ( FILE * file,
const char * fmt,
args_t &&... values )

Writes the text representation of the specified list of values to the file output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fileA file output stream.
fmtA composite format string.
valuesValues to write,
Exceptions
xtd::null_pointer_exceptionthe `file`pointer is null.

◆ print() [4/21]

template<class ... args_t>
void xtd::print ( FILE * file,
const char8_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values to the file output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fileA file output stream.
fmtA composite format string.
valuesValues to write,
Exceptions
xtd::null_pointer_exceptionthe `file`pointer is null.

◆ print() [5/21]

template<class ... args_t>
void xtd::print ( FILE * file,
const char16_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values to the file output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fileA file output stream.
fmtA composite format string.
valuesValues to write,
Exceptions
xtd::null_pointer_exceptionthe `file`pointer is null.

◆ print() [6/21]

template<class ... args_t>
void xtd::print ( FILE * file,
const char32_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values to the file output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fileA file output stream.
fmtA composite format string.
valuesValues to write,
Exceptions
xtd::null_pointer_exceptionthe `file`pointer is null.

◆ print() [7/21]

template<class ... args_t>
void xtd::print ( FILE * file,
const wchar_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values to the file output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fileA file output stream.
fmtA composite format string.
valuesValues to write,
Exceptions
xtd::null_pointer_exceptionthe `file`pointer is null.

◆ print() [8/21]

template<class arg_t>
void xtd::print ( std::ostream & os,
arg_t && value )

Writes the text representation of the specified value to the output stream.

Template Parameters
arg_tThe type of the value to write.
Parameters
osThe output stream to insert data into.
valueThe value to write,

◆ print() [9/21]

template<class ... args_t>
void xtd::print ( std::ostream & os,
const xtd::string & fmt,
args_t &&... values )

Writes the text representation of the specified list of values to the output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
osThe output stream to insert data into.
fmtA composite format string.
valuesValues to write,

◆ print() [10/21]

template<class ... args_t>
void xtd::print ( std::ostream & os,
const char * fmt,
args_t &&... values )

Writes the text representation of the specified list of values to the output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
osThe output stream to insert data into.
fmtA composite format string.
valuesValues to write,

◆ print() [11/21]

template<class ... args_t>
void xtd::print ( std::ostream & os,
const char8_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values to the output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
osThe output stream to insert data into.
fmtA composite format string.
valuesValues to write,

◆ print() [12/21]

template<class ... args_t>
void xtd::print ( std::ostream & os,
const char16_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values to the output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
osThe output stream to insert data into.
fmtA composite format string.
valuesValues to write,

◆ print() [13/21]

template<class ... args_t>
void xtd::print ( std::ostream & os,
const char32_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values to the output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
osThe output stream to insert data into.
fmtA composite format string.
valuesValues to write,

◆ print() [14/21]

template<class ... args_t>
void xtd::print ( std::ostream & os,
const wchar_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values to the output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
osThe output stream to insert data into.
fmtA composite format string.
valuesValues to write,

◆ print() [15/21]

template<class arg_t>
void xtd::print ( arg_t && value)

Writes the text representation of the specified value to the standard output stream.

Template Parameters
arg_tThe type of the value to write.
Parameters
valueThe value to write,

◆ print() [16/21]

template<class ... args_t>
void xtd::print ( const xtd::string & fmt,
args_t &&... values )

Writes the text representation of the specified list of values to the standard output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fmtA composite format string.
valuesValues to write,

◆ print() [17/21]

template<class ... args_t>
void xtd::print ( const char * fmt,
args_t &&... values )

Writes the text representation of the specified list of values to the standard output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fmtA composite format string.
valuesValues to write,

◆ print() [18/21]

template<class ... args_t>
void xtd::print ( const char8_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values to the standard output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fmtA composite format string.
valuesValues to write,

◆ print() [19/21]

template<class ... args_t>
void xtd::print ( const char16_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values to the standard output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fmtA composite format string.
valuesValues to write,

◆ print() [20/21]

template<class ... args_t>
void xtd::print ( const char32_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values to the standard output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fmtA composite format string.
valuesValues to write,

◆ print() [21/21]

template<class ... args_t>
void xtd::print ( const wchar_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values to the standard output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fmtA composite format string.
valuesValues to write,

◆ println() [1/24]

void xtd::println ( FILE * file)
inline

Writes the current line terminator to the file output stream using the specified format information.

Parameters
fileA file output stream.

◆ println() [2/24]

template<class arg_t>
void xtd::println ( FILE * file,
arg_t && value )

Writes the text representation of the specified value, followed by the current line terminator, to the file output stream.

Template Parameters
arg_tThe type of the value to write.
Parameters
fileA file output stream.
valueThe value to write,

◆ println() [3/24]

template<class ... args_t>
void xtd::println ( FILE * file,
const xtd::string & fmt,
args_t &&... values )

Writes the text representation of the specified list of values, followed by the current line terminator, to the file output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fileA file output stream.
fmtA composite format string.
valuesValues to write,

◆ println() [4/24]

template<class ... args_t>
void xtd::println ( FILE * file,
const char * fmt,
args_t &&... values )

Writes the text representation of the specified list of values, followed by the current line terminator, to the file output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fileA file output stream.
fmtA composite format string.
valuesValues to write,

◆ println() [5/24]

template<class ... args_t>
void xtd::println ( FILE * file,
const char8_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values, followed by the current line terminator, to the file output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fileA file output stream.
fmtA composite format string.
valuesValues to write,

◆ println() [6/24]

template<class ... args_t>
void xtd::println ( FILE * file,
const char16_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values, followed by the current line terminator, to the file output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fileA file output stream.
fmtA composite format string.
valuesValues to write,

◆ println() [7/24]

template<class ... args_t>
void xtd::println ( FILE * file,
const char32_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values, followed by the current line terminator, to the file output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fileA file output stream.
fmtA composite format string.
valuesValues to write,

◆ println() [8/24]

template<class ... args_t>
void xtd::println ( FILE * file,
const wchar_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values, followed by the current line terminator, to the file output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fileA file output stream.
fmtA composite format string.
valuesValues to write,

◆ println() [9/24]

void xtd::println ( std::ostream & os)
inline

Writes the current line terminator to the output stream using the specified format information.

Parameters
osThe output stream to insert data into.

◆ println() [10/24]

template<class arg_t>
void xtd::println ( std::ostream & os,
arg_t && value )

Writes the text representation of the specified value, followed by the current line terminator, to the output stream.

Template Parameters
arg_tThe type of the value to write.
Parameters
osThe output stream to insert data into.
valueThe value to write,

◆ println() [11/24]

template<class ... args_t>
void xtd::println ( std::ostream & os,
const xtd::string & fmt,
args_t &&... values )

Writes the text representation of the specified list of values, followed by the current line terminator, to the output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
osThe output stream to insert data into.
fmtA composite format string.
valuesValues to write,

◆ println() [12/24]

template<class ... args_t>
void xtd::println ( std::ostream & os,
const char * fmt,
args_t &&... values )

Writes the text representation of the specified list of values, followed by the current line terminator, to the output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
osThe output stream to insert data into.
fmtA composite format string.
valuesValues to write,

◆ println() [13/24]

template<class ... args_t>
void xtd::println ( std::ostream & os,
const char8_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values, followed by the current line terminator, to the output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
osThe output stream to insert data into.
fmtA composite format string.
valuesValues to write,

◆ println() [14/24]

template<class ... args_t>
void xtd::println ( std::ostream & os,
const char16_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values, followed by the current line terminator, to the output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
osThe output stream to insert data into.
fmtA composite format string.
valuesValues to write,

◆ println() [15/24]

template<class ... args_t>
void xtd::println ( std::ostream & os,
const char32_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values, followed by the current line terminator, to the output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
osThe output stream to insert data into.
fmtA composite format string.
valuesValues to write,

◆ println() [16/24]

template<class ... args_t>
void xtd::println ( std::ostream & os,
const wchar_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values, followed by the current line terminator, to the output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
osThe output stream to insert data into.
fmtA composite format string.
valuesValues to write,

◆ println() [17/24]

void xtd::println ( )
inline

Writes the current line terminator to the standard output stream using the specified format information.

◆ println() [18/24]

template<class arg_t>
void xtd::println ( arg_t && value)

Writes the text representation of the specified value, followed by the current line terminator, to the standard output stream.

Template Parameters
arg_tThe type of the value to write.
Parameters
valueThe value to write,

◆ println() [19/24]

template<class ... args_t>
void xtd::println ( const xtd::string & fmt,
args_t &&... values )

Writes the text representation of the specified list of values, followed by the current line terminator, to the standard output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fmtA composite format string.
valuesValues to write,

◆ println() [20/24]

template<class ... args_t>
void xtd::println ( const char * fmt,
args_t &&... values )

Writes the text representation of the specified list of values, followed by the current line terminator, to the standard output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fmtA composite format string.
valuesValues to write,

◆ println() [21/24]

template<class ... args_t>
void xtd::println ( const char8_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values, followed by the current line terminator, to the standard output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fmtA composite format string.
valuesValues to write,

◆ println() [22/24]

template<class ... args_t>
void xtd::println ( const char16_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values, followed by the current line terminator, to the standard output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fmtA composite format string.
valuesValues to write,

◆ println() [23/24]

template<class ... args_t>
void xtd::println ( const char32_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values, followed by the current line terminator, to the standard output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fmtA composite format string.
valuesValues to write,

◆ println() [24/24]

template<class ... args_t>
void xtd::println ( const wchar_t * fmt,
args_t &&... values )

Writes the text representation of the specified list of values, followed by the current line terminator, to the standard output stream using the specified format information.

Template Parameters
...args_tTypes of the values to write.
Parameters
fmtA composite format string.
valuesValues to write,

◆ read_only_span() [1/7]

template<xtd::size len>
xtd::read_only_span ( const element_type(&) array[len])
constexprnoexcept

Creates an xtd::read_only_span with specified native array.

Parameters
arrayThe native array to construct a view for.

◆ read_only_span() [2/7]

template<class array_type_t, xtd::size len>
xtd::read_only_span ( const std::array< array_type_t, len > & array)
constexprnoexcept

Creates an xtd::read_only_span with specified std::array.

Parameters
arrayThe std::array to construct a view for.

◆ read_only_span() [3/7]

template<class range_t>
xtd::read_only_span ( range_t && range)
constexprnoexcept

Creates an xtd::read_only_span with specified range.

Parameters
rangeThe range to construct a view for.

◆ read_only_span() [4/7]

xtd::read_only_span ( std::initializer_list< type_t > items)
constexprnoexcept

Creates an xtd::read_only_span with specified initializer list.

Parameters
itemsThe initializer list to construct a view for.

◆ read_only_span() [5/7]

template<class collection_t>
xtd::read_only_span ( const collection_t & items,
size_type length )
constexpr

Creates an xtd::read_only_span with specified collection and count.

Parameters
itemsThe collection to construct a view for.
lengthThe number of elements in the collection.
Exceptions
xtd::argument_out_of_range_exceptionif length is greater than items size.

◆ read_only_span() [6/7]

template<class collection_t>
xtd::read_only_span ( const collection_t & items,
size_type start,
size_type length )
constexpr

Creates an xtd::read_only_span with specified collection, offest and count.

Parameters
itemsThe collection to construct a view for.
startThe offset in the collection.
lengthThe number of elements in the collection.
Exceptions
xtd::argument_out_of_range_exceptionif offset or offset + length are greater than items size.

◆ read_only_span() [7/7]

xtd::read_only_span ( const type_t * data,
size_type length )
constexpr

Creates an xtd::read_only_span with specified data pointer and count.

Parameters
dataThe data pointer to construct a view for.
lengthThe number of elements to constuct.

◆ back()

const_reference xtd::back ( ) const

Gets the last element.

Returns
The last element.
Exceptions
argument_out_of_range_exceptionif xtd::san i empty.

◆ begin()

const_iterator xtd::begin ( ) const

Returns an iterator to the beginning.

Returns
The iterator of the first element.

◆ cbegin()

const_iterator xtd::cbegin ( ) const

Returns an iterator to the beginning.

Returns
The iterator of the first element.

◆ cend()

const_iterator xtd::cend ( ) const

Returns an iterator to the end.

Returns
The iterator to the element following the last element.

◆ crbegin()

const_reverse_iterator xtd::crbegin ( ) const

Returns a reverse iterator to the beginning.

Returns
The reverse iterator of the first element.

◆ crend()

const_reverse_iterator xtd::crend ( ) const

Returns a reverse iterator to the end.

Returns
The reverse iterator to the element following the last element.

◆ data()

const_pointer xtd::data ( ) const
constexprnoexcept

Gets direct access to the underlying contiguous storage.

Returns
A pointer to the beginning of the sequence.

◆ empty()

bool xtd::empty ( ) const
constexprnoexcept

Returns a value that indicates whether the current xtd::read_only_span <type_t> is empty.

Returns
true if the current read_only_span is empty; otherwise, false.

◆ end()

const_iterator xtd::end ( ) const

Returns an iterator to the end.

Returns
The iterator to the element following the last element.

◆ front()

const_reference xtd::front ( ) const

Gets the first element.

Returns
The first element.
Exceptions
argument_out_of_range_exceptionif xtd::san i empty.

◆ is_empty()

bool xtd::is_empty ( ) const
constexprnoexcept

Returns a value that indicates whether the current xtd::read_only_span <type_t> is empty.

Returns
true if the current read_only_span is empty; otherwise, false.

◆ length()

size_type xtd::length ( ) const
constexprnoexcept

Returns the length of the current read_only_span.

Returns
The length of the current read_only_span.

◆ rbegin()

const_reverse_iterator xtd::rbegin ( ) const

Returns a reverse iterator to the beginning.

Returns
The reverse iterator of the first element.

◆ rend()

const_reverse_iterator xtd::rend ( ) const

Returns a reverse iterator to the end.

Returns
The reverse iterator to the element following the last element.

◆ size_bytes()

size_type xtd::size_bytes ( ) const
constexprnoexcept

Returns the size of the sequence in bytes.

Returns
The size of the sequence in bytes, i.e., size() * sizeof(element_type).

◆ at()

const_reference xtd::at ( size_type pos) const

Gets the specified element with bounds checking.

Parameters
posThe position of the element to return.
Returns
Reference to the requested element.
Exceptions
xtd::index_out_of_range_exception`index` is less than zero or greater than or equal to xtd::read_only_span::length.

◆ copy_to()

template<xtd::size length>
void xtd::copy_to ( span< type_t, length > & destination) const

Copies the contents of this xtd::read_only_span <type_t> into a destination xtd:span <type_t>.

Parameters
destinatonThe destination xtd::read_only_span <type_t> object.
Exceptions
xtd::argument_exception`destination` is shorter than the source xtd::span <type_t>.

◆ equals() [1/2]

bool xtd::equals ( const object & obj) const
overridenoexcept

Determines whether the specified object is equal to the current object.

Parameters
objThe object to compare with the current object.
Returns
true if the specified object is equal to the current object. otherwise, false.

◆ equals() [2/2]

bool xtd::equals ( const read_only_span & rhs) const
overridenoexcept

Indicates whether the current object is equal to another object of the same type.

Parameters
objAn object to compare with this object.
Returns
true if the current object is equal to the other parameter; otherwise, false.

◆ first() [1/2]

template<xtd::size count>
read_only_span< type_t, count > xtd::first ( ) const

Obtains a subspan consisting of the first count elements of the sequence.

Parameters
countThe count elements.
Returns
A read_only_span r that is a view over the first count elements of *this, such that r.data() == this->data() && r.size() == count.

◆ first() [2/2]

read_only_span< type_t > xtd::first ( xtd::size count) const

Obtains a subspan consisting of the first count elements of the sequence.

Parameters
countThe count elements.
Returns
A read_only_span r that is a view over the first count elements of *this, such that r.data() == this->data() && r.size() == count.

◆ get_hash_code()

xtd::size xtd::get_hash_code ( ) const
overridenoexcept

Serves as a hash function for a particular type.

Returns
A hash code for the current object.

◆ last() [1/2]

template<xtd::size count>
read_only_span< type_t, count > xtd::last ( ) const

Obtains a subspan consisting of the last N elements of the sequence.

Parameters
countThe count elements.
Returns
A read_only_span r that is a view over the last count elements of *this, such that r.data() == this->data() + (this->size() - count) && r.size() == count.

◆ last() [2/2]

read_only_span< type_t > xtd::last ( xtd::size count) const

Obtains a subspan consisting of the last N elements of the sequence.

Parameters
countThe count elements.
Returns
A read_only_span r that is a view over the last count elements of *this, such that r.data() == this->data() + (this->size() - count) && r.size() == count.

◆ slice() [1/3]

template<xtd::size start, size_type lenght = xtd::dynamic_extent>
read_only_span< type_t > xtd::slice ( ) const

Forms a slice out of the current read_only_span starting at a specified index for a specified length.

Parameters
startThe zero-based index at which to begin this slice.
lengthThe desired length for the slice.
Returns
A read_only_span that consists of length elements from the current read_only_span starting at start.
Exceptions
xtd::argument_out_of_range_exception`start` or `start + length` is less than zero or greater than xtd::read_only_span::length.

◆ slice() [2/3]

read_only_span< type_t > xtd::slice ( size_type start) const

Forms a slice out of the current read_only_span that begins at a specified index.

Parameters
startThe zero-based index at which to begin the slice.
Returns
A read_only_span that consists of all elements of the current read_only_span from start to the end of the read_only_span.
Exceptions
xtd::argument_out_of_range_exception`start` is less than zero or greater than xtd::read_only_span::length.

◆ slice() [3/3]

read_only_span< type_t > xtd::slice ( size_type start,
size_type length ) const

Forms a slice out of the current read_only_span starting at a specified index for a specified length.

Parameters
startThe zero-based index at which to begin this slice.
lengthThe desired length for the slice.
Returns
A read_only_span that consists of length elements from the current read_only_span starting at start.
Exceptions
xtd::argument_out_of_range_exception`start` or `start + length` is less than zero or greater than xtd::read_only_span::length.

◆ subspan() [1/2]

template<xtd::size offset, size_type count = xtd::dynamic_extent>
read_only_span< type_t > xtd::subspan ( ) const

Forms a subspan of the current read_only_span starting at a specified index for a specified length.

Parameters
offsetThe zero-based index at which to begin this slice.
countThe desired length for the slice.
Returns
A read_only_span that consists of length elements from the current read_only_span starting at start.
Exceptions
xtd::argument_out_of_range_exception`offset` or `offset + count` is less than zero or greater than xtd::read_only_span::length.

◆ subspan() [2/2]

read_only_span< type_t > xtd::subspan ( size_type offset,
size_type count = xtd::dynamic_extent ) const

Forms a subspan of the current read_only_span starting at a specified index for a specified length.

Parameters
offsetThe zero-based index at which to begin this slice.
countThe desired length for the slice.
Returns
A read_only_span that consists of length elements from the current read_only_span starting at start.
Exceptions
xtd::argument_out_of_range_exception`offset` or `offset + count` is less than zero or greater than xtd::read_only_span::length.

◆ to_array()

xtd::array< std::remove_cv_t< type_t > > xtd::to_array ( ) const
noexcept

Copies the contents of this read_only_span into a new array.

Returns
An array containing the data in the current read_only_span.

◆ to_string() [1/11]

string xtd::to_string ( ) const
overridenoexcept

Returns the string representation of this xtd::read_only_span <type_t> object.

Returns
The string representation of this xtd::read_only_span <type_t> object.
Remarks
For a xtd::read_only_span <type_t>, the xtd::read_only_span::to_string method returns a xtd::string that contains the characters pointed to by the xtd::read_only_span <type_t>. Otherwise, it returns a xtd::string with collection sequance string of the elements that the xtd::read_only_span <type_t> contains separated by ,.
Examples
any.cpp, any_info.cpp, format_class_with_specified_formating_with_to_string.cpp, iformatable_vs_to_string.cpp, and sprintf_class_with_specified_formating_with_to_string.cpp.

◆ try_copy_to()

template<xtd::size length>
bool xtd::try_copy_to ( span< type_t, length > & destination) const
noexcept

Attempts to copy the current xtd::read_only_span <type_t> to a destination xtd::read_only_span <type_t> and returns a value that indicates whether the copy operation succeeded.

Parameters
destinationThe target of the copy operation.
Returns
true if the copy operation succeeded; otherwise, false.
Remarks
This method copies all of source to destination even if source and destination overlap.

◆ operator[]()

const_reference xtd::operator[] ( size_type index) const

Gets the element at the specified zero-based index.

Parameters
indexThe zero-based index of the element.
Returns
The element at the specified index.
Exceptions
xtd::index_out_of_range_exception`index` is less than zero or greater than or equal to xtd::read_only_span::length. */

◆ to_string() [2/11]

xtd::string xtd::to_string ( int val)

Converts a signed integer to xtd::string.

Parameters
valA numeric value to convert.
Returns
A string holding the converted value.

◆ to_string() [3/11]

xtd::string xtd::to_string ( unsigned val)

Converts an unsigned integer to xtd::string.

Parameters
valA numeric value to convert.
Returns
A string holding the converted value.

◆ to_string() [4/11]

xtd::string xtd::to_string ( long val)

Converts a signed integer to xtd::string.

Parameters
valA numeric value to convert.
Returns
A string holding the converted value.

◆ to_string() [5/11]

xtd::string xtd::to_string ( unsigned long val)

Converts an unsigned integer to xtd::string.

Parameters
valA numeric value to convert.
Returns
A string holding the converted value.

◆ to_string() [6/11]

xtd::string xtd::to_string ( long long val)

Converts a signed integer to xtd::string.

Parameters
valA numeric value to convert.
Returns
A string holding the converted value.

◆ to_string() [7/11]

xtd::string xtd::to_string ( unsigned long long val)

Converts an unsigned integer to xtd::string.

Parameters
valA numeric value to convert.
Returns
A string holding the converted value.

◆ to_string() [8/11]

string xtd::to_string ( float val)

Converts a floating point to xtd::string.

Parameters
valA numeric value to convert.
Returns
A string holding the converted value.

◆ to_string() [9/11]

xtd::string xtd::to_string ( double val)

Converts a floating point integer to xtd::string.

Parameters
valA numeric value to convert.
Returns
A string holding the converted value.

◆ to_string() [10/11]

xtd::string xtd::to_string ( long double val)

Converts a floating point to xtd::string.

Parameters
valA numeric value to convert.
Returns
A string holding the converted value.

◆ to_string() [11/11]

template<class type_t>
xtd::string xtd::to_string ( type_t val)

Converts a type_t to xtd::string.

Parameters
valA type_t value to convert.
Returns
A string holding the converted value.

◆ to_ustring()

template<class type_t>
xtd::string xtd::to_ustring ( type_t val)

Converts a type_t to xtd::string.

Parameters
valA type_t value to convert.
Returns
A string holding the converted value.