Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Common structure of base libraries

Open
#44 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reviewing the mapbox-base submodules and comparing the package layouts and namespaces of optional and variant, especially their include paths. Define a common repository structure and consistent public include and namespace conventions, then confirm that the VisionSDK use cases can consume both libraries consistently.

Written by the indexing model from the issue text.

Description

Right now mapbox-base is a set of small submodules. That makes hard to support consistency between each small repo. Maybe we should place all these files in one repo? Like a std library.

As example, in VisionSDK we want to use optional and variant from mapbox-base and have a troubles:

  • optional class is placed inside std::experimental namespace, but variant places in mapbox::util one.
  • optional package have different structure from variant. variant have include/mapbox folder that allow me to add include folder to include_directories and use #include "mapbox/variant.hpp". But i can't do the same with optional. Because optional.hpp placed directly inside optional submodule directory
Dominant language
C++
Stars
24
Forks
17
PR merge metrics
No merged PRs in 30d

Getting set up

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.

More from mapbox/mapbox-base

All issues in mapbox/mapbox-base

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.