8#if defined(_MSC_VER) && defined(max) 
    9#  if __cplusplus < 202302L 
   10#    pragma message("The macro `max` is defined. If you include the `Windows.h` file, please define the 'NOMINMAX' constant before including `Windows.h`. xtd will undef the `max` macro.")
 
   12#    warning "The macro `max` is defined. If you include the `Windows.h` file, please define the 'NOMINMAX' constant before including `Windows.h`. xtd will undef the `max` macro." 
   51  template<
typename type_t>
 
   67    static constexpr type_t 
max_value = std::numeric_limits<type_t>::max();
 
   70    static constexpr type_t 
min_value = std::numeric_limits<type_t>::lowest();
 
Represents text as a sequence of character units.
Definition basic_string.hpp:79
 
Represents a boxed integer object.
Definition box_integer.hpp:52
 
static bool parse(const xtd::string &value, type_t &result, xtd::number_styles styles)
Converts the string to its type_t equivalent.
Definition box_integer.hpp:85
 
static constexpr type_t max_value
Represents the largest possible value of type_t. This field is constant.
Definition box_integer.hpp:67
 
static type_t parse(const xtd::string &value, xtd::number_styles styles)
Converts the string to its type_t equivalent.
Definition box_integer.hpp:80
 
static constexpr type_t min_value
Represents the smallest possible value of type_t. This field is constant.
Definition box_integer.hpp:70
 
Represents a boxed object.
Definition box.hpp:53
 
static bool try_parse(const xtd::string &value, type_t &result) noexcept
Converts the string to its type_t equivalent. A return value indicates whether the conversion succeed...
Definition box.hpp:133
 
const type_t & value() const noexcept
Gets the underlying value.
Definition box.hpp:85
 
number_styles
Determines the styles permitted in numeric string arguments that are passed to the xtd::parse and xtd...
Definition number_styles.hpp:16
 
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
 
Contains xtd::number_styles enum class.