microsoft / microsoft/yardl

Vectors of bools broken

Open
#19 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
35
Forks
14
Avg merge
5d 17h
Merged PRs (30d)
1

Description

Vectors of booleans:

V: !vector
  items: bool

are not handled because the .data() method is deleted from the std::vector<bool> specialization. Additionally, binary serialization should write out a bitstream where each value is a bit rather than a byte.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by locating the C++ handling for vector and the binary serialization path; compare the existing vector serialization behavior with the requested bitstream representation. Done means boolean vectors are supported despite std::vector's deleted data() method and binary output stores each value as a bit.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
data, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.