boostorg / boostorg/unordered

[FR] Trivial and noexcept iterators

Open
#236 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
92
Forks
88
PR merge metrics
No merged PRs in 30d

Description

Please refactor and decorate iterator types/class templates and their key functions (e.g. copy constructors) with appropriate attributes ( [[clang::trivial_abi]], noexcept, constexpr) so they are recognized at the language level (rather than just by the optimizer) as trivial or atleast noexcept (copyable etc.) - so that, for example, I can hide/'pimpl' them behind something like https://github.com/microsoft/proxy and have it use 'trivial' (memcpy) code for copy construction and assignment (instead of going through vtable pointers).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.