Skip to content

Add compound operators for builtin types value modification #487

Description

@mborland

Such as

template <std::floating_point T>
T& operator+=(T& lhs, const boost::int128::int128& rhs) {
    lhs = /* ... */;
    return lhs;
}

template <std::integral T>
T& operator|=(T& lhs, const [my_big_int](boost::int128::int128)& rhs) {
    lhs = /* ... */;
    return lhs;
}

Metadata

Metadata

Assignees

Labels

Boost ReviewFeedback from the review period including pre- and post- on the MLenhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions