Skip to content

BinaryInput::read() implementation #1622

@KAlO2

Description

@KAlO2

Hello developers,

I can not understand this piece of code.
https://github.com/vsg-dev/VulkanSceneGraph/blob/master/src/vsg/io/BinaryInput.cpp#L195
Image

Comparing className with "nullptr" seems weird to me. When reading a null object from a vsgb file, readValue<std::string> returns an empty string "" instead of "nullptr". So is this the intended behavior?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions