Represents information about c++ libraries, such as the version and standard identifier. This class cannot be inherited.
Public Constructors | |
| compiler (xtd::compiler_id compiler_id, const xtd::version &version, xtd::build_type build_type, bool is_64_bit) | |
| Initialise a new xtd::compiler class. | |
Public Properties | |
| xtd::string | additional_information () const noexcept |
| Gets additional information. | |
| xtd::build_type | build_type () const noexcept |
| Gets the build type. | |
| xtd::compiler_id | compiler_id () const noexcept |
| Gets the compiler id. | |
| bool | is_build_type_debug () const noexcept |
| Gets build type is debug. | |
| bool | is_64_bit () noexcept |
| Gets is 64 bits. | |
| xtd::string | name () const noexcept |
| Gets compiler name. | |
| xtd::string | version_string () const noexcept |
| Gets compiler version string. | |
| const xtd::version & | version () const noexcept |
| Gets compiler version. | |
Public Methods | |
| xtd::size | get_hash_code () const noexcept override |
| Serves as a hash function for a particular type. | |
| xtd::string | to_string () const noexcept override |
| Converts the value of this operating_system object to its equivalent string representation. | |
Additional Inherited Members | |
| object ()=default | |
| Create a new instance of the ultimate base class object. | |
| virtual bool | equals (const object &obj) const noexcept |
| Determines whether the specified object is equal to the current object. | |
| virtual type_object | get_type () const noexcept |
| Gets the type of the current instance. | |
| template<class object_t> | |
| xtd::unique_ptr_object< object_t > | memberwise_clone () const |
| Creates a shallow copy of the current object. | |
| template<class object_a_t, class object_b_t> | |
| static bool | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| Determines whether the specified object instances are considered equal. | |
| template<class object_a_t, class object_b_t> | |
| static bool | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| Determines whether the specified object instances are the same instance. | |
| xtd::compiler::compiler | ( | xtd::compiler_id | compiler_id, |
| const xtd::version & | version, | ||
| xtd::build_type | build_type, | ||
| bool | is_64_bit ) |
Initialise a new xtd::compiler class.
| compiler_id | One of xtd::compiler_id values. |
| version | The compiler version. |
| build_type | One of xtd::build_type values. |
| is_64_bit | true if 64 bits; otherwise false. |
|
noexcept |
Gets additional information.
|
noexcept |
Gets the build type.
|
noexcept |
Gets the compiler id.
|
noexcept |
Gets build type is debug.
true if build type debug; otherwise false.
|
noexcept |
Gets is 64 bits.
true if 64 bits; otherwise false.
|
noexcept |
Gets compiler name.
|
noexcept |
Gets compiler version string.
|
noexcept |
Gets compiler version.
|
overridevirtualnoexcept |
Serves as a hash function for a particular type.
Reimplemented from xtd::object.
|
overridevirtualnoexcept |
Converts the value of this operating_system object to its equivalent string representation.
Reimplemented from xtd::object.