Skip to content
This repository has been archived by the owner on Dec 26, 2021. It is now read-only.
/ cpp-sort Public archive

C++20 Iterator Sorting Algorithm Implementation using Concepts TS (/w RapidCheck)

License

Notifications You must be signed in to change notification settings

int-i/cpp-sort

Repository files navigation

C++ Sort

C++20 Iterator Sorting Algorithm Implementation using Concepts TS (/w RapidCheck)

C++ Meson GitHub Workflow Codecov License

Build

Requirement

(Option) For Testing

(Option) For Code Coverage

  • Test Dependencies
  • Gcovr(>=3.3)

Note: If you use G++ 11 for supporting C++20, you should also use Gcov 11.

(Option) For Benchmarking

Guide

  1. Clone the repository:

    $ git clone https://github.com/int-i/cpp-sort.git
  2. Build the source:

    $ cd cpp-sort
    $ meson setup build
    $ meson compile -C build
  3. (Option) Test the source:

    $ meson test -C build
  4. (Option) Generate code coverage report:

    $ meson setup buildcov -Db_coverage=true
    $ meson test -C buildcov
    $ ninja -C buildcov coverage
  5. (Option) Benchmark sorting algorithm:

    $ meson setup build --buildtype=release
    $ meson test -C build --benchmark

License

Copyright (c) 2021 Seungjae Park

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

C++ Sort is licensed under the MIT License.