xtd - Reference Guide  0.1.0
Modern c++17 framework to create console, gui and unit test applications on Windows, macOS and Linux.
xtd::compiler Class Referencefinal

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

#include <compiler.h>

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
 
std::string to_string () const noexcept
 Converts the value of this operating_system object to its equivalent string representation. More...
 
const xtd::versionversion () const noexcept
 
std::string version_string () const noexcept
 

Static Public Member Functions

static bool is_64_bit () noexcept
 

Detailed Description

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

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 typecompiler and any additional fields or methods that you require.

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