xtd - Reference Guide  0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Public Member Functions | Static Public Member Functions | List of all members
xtd::compiler Class Referencefinal

#include <compiler.h>

Definition

Represents information about c++ libraries, such as the version and standard identifier. This class cannot be inherited.

Namespace
xtd
Library
xtd.core
Remarks
The compiler class contains information about c++ libraries.
For information about current c++ libraries, retrieve the compiler object returned by the xtd::environment::compiler_version method.
By design, the operating_system class is not a general purpose means of describing an operating system, and you cannot derive a more inclusive type from the operating_system class. If you need a type to contain other information about C++ libraries, create your own type, then include a field of compiler type and any additional fields or methods that you require.

Inherits xtd::object.

Public Member Functions

 compiler (xtd::compiler_id compiler_id)
 
xtd::build_type build_type () const noexcept
 
xtd::compiler_id compiler_id () const noexcept
 
bool is_build_type_debug () const noexcept
 
xtd::ustring name () const noexcept
 
xtd::ustring to_string () const noexcept
 Converts the value of this operating_system object to its equivalent string representation. More...
 
const xtd::versionversion () const noexcept
 
xtd::ustring version_string () const noexcept
 
- Public Member Functions inherited from xtd::object
 object ()=default
 Create a new instance of the ultimate base class object. More...
 
virtual bool equals (const object &obj) const noexcept
 Determines whether the specified object is equal to the current object. More...
 
virtual size_t get_hash_code () const noexcept
 Serves as a hash function for a particular type. More...
 
template<typename object_t >
std::unique_ptr< object_t > memberwise_clone () const
 Gets the type of the current instance. More...
 

Static Public Member Functions

static bool is_64_bit () noexcept
 
- Static Public Member Functions inherited from xtd::object
static bool equals (const object &object_a, const object &object_b) noexcept
 Determines whether the specified object instances are considered equal. More...
 
static bool reference_equals (const object &object_a, const object &object_b) noexcept
 Determines whether the specified object instances are the same instance. More...
 

Member Function Documentation

◆ to_string()

xtd::ustring xtd::compiler::to_string ( ) const
inlinevirtualnoexcept

Converts the value of this operating_system object to its equivalent string representation.

Returns
The string representation of the values returned by the platform, version, and service_pack methods.

Reimplemented from xtd::object.


The documentation for this class was generated from the following file: