Skip to content

in_place signatures seems wrong #8

@viboes

Description

@viboes

The signatures of this class and functions seems wrong.

struct in_place_t {};
template <std::size_t I>
in_place_t in_place(unspecified<I>);
template <class T>
in_place_t in_place(unspecified<T>);

There is a parameter to in_place, but elsewhere there is no argument passed.

How in_place_t can remember the Ior the T?

BTW, where in_place_tis used?

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