|
Type bindings in C++ are quite straightforward, due to the implementation assumption that language-defined standard types already have the required representation. This assumption is not guaranteed by the language standard, but within the family of Windows and POSIX-based systems is most likely universally met.
bool
is used for boolean values.int
is used for integer values.long long
is used for long values.double
is used for double float values.std::string
is used for string values.void *
with std::size_t
are used together to describe binary buffers.