C++ Template

Open-source C++ projects categorized as Template

Top 19 C++ Template Projects

  • Inja

    A Template Engine for Modern C++

  • xorstr

    heavily vectorized c++17 compile time string encryption.

    Project mention: Force compiler to construct strings dynamically on the stack (win64) | /r/cpp | 2022-12-29
  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • SimpleFPSTemplate

    Simple C++ FPS Template for Unreal Engine 4

  • plf_colony

    An unordered C++ data container providing fast iteration/insertion/erasure while maintaining pointer/iterator validity to non-erased elements regardless of insertions/erasures. Provides higher-performance than std:: library containers for high-modification scenarios with unordered data.

  • OpenGL_CMake_Skeleton

    :heart: A ready to use cmake skeleton using GLFW, Glew and glm. :+1:

    Project mention: CMake fails to build OpenGL project due to missing targets OpenGL and GLX whereas reference project does not have the same problem. | /r/learnprogramming | 2022-10-10

    The main GLEW repository from how I currently understand it is not designed to be used as a subdirectory. So I found a skeleton project that I went off of and it links to an alternative glew repository that includes source files, although it hasn't been updated in a while. I was able to do this succesfully before by roughly following along with what the skeleton project does. In fact I made a repository that worked at one point. However a new problem has showed up. It could have come up with an update from once of the dependencies or maybe it's because I had reinstalled Ubuntu between now and then.

  • pamplejuce

    A JUCE Plugin CI template. JUCE 7 & Catch2 with macOS notarization and Windows EV code signing on Github Actions

    Project mention: How does JUCE fair with Jetbrains IDE's? | /r/JUCE | 2023-02-27

    As long as you get everything set up correctly with CMake it is a much better experience than Xcode or Visual studio. I've heard good things about this template.

  • protopuf

    Protocol Puffers: A little, highly templated, and protobuf-compatible serialization/deserialization header-only library written in C++20

  • Revelo Payroll

    Free Global Payroll designed for tech teams. Building a great tech team takes more than a paycheck. Zero payroll costs, get AI-driven insights to retain best talent, and delight them with amazing local benefits. 100% free and compliant.

  • STM32_Base_Project

    STM32 Base project with a lot of stuff

  • utility-boilerplate-qt

    🚀Boilerplate for C++ utility application based on Qt5

  • gtl

    A collection of useful well-commented, self-contained, simple, and/or interesting C++ classes (by gpdaniels)

    Project mention: The Icculus Microgrant is giving out 250 dollar grants to open source projects, please brag about your project(s) in this thread so I can see them! | /r/programming | 2023-03-03
  • cpp-cmake-template

    Template for a C++ CMake project, using Github Actions and CTest.

    Project mention: Updated: C++ CMake Template project | /r/cpp | 2023-02-25

    I posted this some days ago: https://www.reddit.com/r/cpp/comments/1174s2n/c_template_project_using_cmake_ctest_github/ regarding https://github.com/mortinger91/cpp-cmake-template a C++ CMake template project.

  • vec-mat-comp-quat

    C++ 2d/3d/4d Vector, 2x2/3x3/4x4 Matrix, Complex Number, Quaternion, and 3d Transformation Classes / Functions (Header Only libraries)

  • libtcod-vcpkg-template

    A template for C++17 libtcod projects. This template uses Vcpkg to fetch dependencies.

    Project mention: Sharing Saturday #472 | /r/roguelikedev | 2023-06-23

    It doesn't teach on its own, but the libtcod-vcpkg-template can help with quickly setting up Vcpkg and libtcod in a cross-platform manner. Parts might need to be updated to work with C++20 or later. This template also creates Emscripten builds.

  • raylib-cmake-template

    A very minimal project template for Raylib using CMake that works well in CLion, Visual Studio and MSVC with Github Actions to build to all platforms (by siddharthroy12)

  • Instantiator

    Clang based tool to automatically insert all needed explicit instantiations in implementation files for `c++` projects

  • opengl-imgui-cmake-template

    👾 template repo for getting started with opengl together with imgui using cmake

    Project mention: Setting up VS code for opengl | /r/opengl | 2022-12-28

    link to repository on github

  • Leonardo-orientation-tracker

    Track orientation witht he Leonardo arduino

  • stencil

    Code Generator based on Model Template binding Transformations (by ankurvdev)

  • Simple-Iterator

    Simple to use iterator_interface for several iterator categories

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-06-23.

C++ Template related posts


What are some of the best open-source Template projects in C++? This list will help you:

Project Stars
1 Inja 1,376
2 xorstr 913
3 SimpleFPSTemplate 541
4 plf_colony 369
5 OpenGL_CMake_Skeleton 258
6 pamplejuce 228
7 protopuf 136
8 STM32_Base_Project 66
9 utility-boilerplate-qt 29
10 gtl 24
11 cpp-cmake-template 22
12 vec-mat-comp-quat 14
13 libtcod-vcpkg-template 12
14 raylib-cmake-template 4
15 Instantiator 3
16 opengl-imgui-cmake-template 3
17 Leonardo-orientation-tracker 0
18 stencil 0
19 Simple-Iterator 0
Analyze your C and C++ projects with just one click.
SonarCloud, a cloud-based static analysis tool for your CI/CD workflows, offers a one-click automatic analysis of C and C++ projects hosted on GitHub. Zero configuration and free for open-source projects! Analyze free.