portability/build.hpp
Reporting the Program's Build Parameters

Introduction

This function returns a string containing a human-readable summary of the build parameters including the version of STLplus being used, the target platform, compiler name and version and whether this is a debug or release build.

Interface

The function looks like this:

std::string stlplus::build(void);

The return value is the string representation of the build.

Results

Provides a printable representation of the build characteristics in the form:

<version>, <platform>, <compiler>, <variant>

The meanings of these four fields are:

version
the version of STLplus
platform
the target operating system
compiler
the compilation system and version that the function was compiled with
variant
the kind of build - debug or release

Example:

STLplus version 3.0, Generic Unix, gcc v3.4.5, debug