Skip to content

Defined in header <fkYAML/node.hpp>

fkyaml::basic_node::integer_type

using integer_type = IntegerType;

The type used to store integer values.

The actual type is defined by the template parameter IntegerType.
If not explicitly specified, the default type std::int64_t is defined.
With the decided type, integer values are stored directly inside a basic_node.

Examples

Example
#include <cstdint>
#include <iomanip>
#include <iostream>
#include <type_traits>
#include <fkYAML/node.hpp>

int main() {
    std::cout << std::boolalpha << std::is_same<std::int64_t, fkyaml::node::integer_type>::value << std::endl;
    return 0;
}

output:

true

See Also