xtd - Reference Guide  0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
xtd::cpp_language Class Referencefinal

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

#include <cpp_language.h>

Collaboration diagram for xtd::cpp_language:
Collaboration graph

Public Member Functions

 cpp_language (uint32_t cpp)
 
language_id experimental_language () const noexcept
 
bool is_experimental_language () const noexcept
 
bool is_supported () const noexcept
 
language_id language () const noexcept
 
int32_t month () const noexcept
 
std::string name () const noexcept
 
std::string to_string () const noexcept
 Converts the value of this operating_system object to its equivalent string representation. More...
 
uint32_t value () const noexcept
 
const xtd::versionversion () const noexcept
 
std::string version_string () const noexcept
 
int32_t year () const noexcept
 

Detailed Description

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

Remarks
The cpp_language class contains information about c++ libraries.
For information about current c++ libraries, retrieve the cpp_language object returned by the xtd::environment::cpp_language_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 typecpp_language and any additional fields or methods that you require.

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