Skip to content

Repository for all code in the "C++ Accumulate: More Powerful Than You Think" video.

License

Notifications You must be signed in to change notification settings

EliseBriers/std-accumulate-examples

Repository files navigation

STD Accumulate Examples

Git repo for the video C++ Accumulate: More Powerful Than You Think.
By Elise++


Introduction

This repo contains all the code files shown in the video C++ Accumulate: More Powerful Than You Think. main.cpp contains all the unit tests, other classes can be found in their corresponding files.

Building and testing

Manually

Build the project using cmake and a compiler with C++ 20 abilities. Most modern compilers should work. Making the file will result in the unit tests getting executed automatically.

git clone https://github.com/EliseBriers/std-accumulate-examples
cd std-accumulate-examples
mkdir build
cd build
cmake ..
cmake --build .

Visual Studio (Windows)

The easiest way to build and run the project on windows is opening it in a recent version of Vidual Studio. This project has been tested using Visual Studio 2022.

Contributing

Since this project is the example code for a youtube video, no PRs will be accepted that modify code visible in this video. Code that adds unit tests or other examples might be merged, but it's low on my priority list.

About

Repository for all code in the "C++ Accumulate: More Powerful Than You Think" video.

Topics

Resources

License

Stars

Watchers

Forks