Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Review return-value converter #7

@nemothenoone

Description

@nemothenoone

Return-value converter seems to work now only for explicit type-initialized variables:

std::string out = encode<codec::base64>(in.begin(), in.end());

The same construction fails if the variable was initialized earlier:

std::string str = "123";
str = encode<codec::hex>(str.begin(), str.end());

This leads to ambiguous operator= selection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions