facebook / facebook/folly

<small_vector>: Feasibility of certain operations on small_vector with the same T but different other parameters

Open
#1,941 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
30.5k
Forks
5.9k
PR merge metrics
No merged PRs in 30d

Description

Some operation, such as assigment, comparison and copy/move construction should be allowed.
```
small_vector a{1,2,3};
small_vector b{1,2,3};
a==b;
a=b;
...
```

Contributor guide

Open the contributing guide

Research direction

Start by locating the small_vector implementation and its tests, then inspect how operations are constrained for differing template parameters. Compare assignment, comparison, and copy/move construction for small_vector and small_vector. Done means the supported behavior is defined and covered by tests, or the issue is documented as infeasible.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.