Skip to content

too few template aruments #357

@Michael-Lafreniere

Description

@Michael-Lafreniere

Description

Just including the node.hpp file (nothing else) generates two errors in visual studio 2022 Version 17.10.1.

The first one: error C2976: 'fkyaml::v0_3_8::node_value_converter': too few template arguments
The second one: error C2955: 'fkyaml::v0_3_8::node_value_converter': use of class template requires template argument list

I verified this by just downloading the standalone header into a project that compiles cleanly and adding the node.hpp file into its source files, then including it.

Reproduction steps

#include <fkYAML/node.hpp>

Expected vs. actual results

I expected it to compile cleanly when merely including the header file(s).

Minimal code example

No response

Error messages

error C2976: 'fkyaml::v0_3_8::node_value_converter': too few template arguments
error C2955: 'fkyaml::v0_3_8::node_value_converter': use of class template requires template argument list

Compiler and operating system

Windows 10, Visual Studios 2022 version 17.10.1

Library version

0.3.8

Validation

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