Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Too few template arguments for class template 'set' #581

@lvlsun

Description

@lvlsun

-isystem /runner/frameworks/cpp/ error: too few template arguments for class template 'set' std::set<std::string> a; ^ /usr/include/c++/v1/__tree:685:71: note: template is declared here template <class, class, class> friend class _LIBCPP_TYPE_VIS_ONLY set; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 1 error generated.

But std::set has only one non-default (type) parameter.

Upd: It's forward declaration of the class set, for set definition should be included.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions