From 229d138e77f4c56bd146eeb99745407cf69b945b Mon Sep 17 00:00:00 2001 From: rhalbersma Date: Sun, 3 May 2020 16:12:28 +0200 Subject: [PATCH] [GitHub] add tokei badge --- .tokeignore | 2 ++ README.md | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .tokeignore diff --git a/.tokeignore b/.tokeignore new file mode 100644 index 0000000..76e579a --- /dev/null +++ b/.tokeignore @@ -0,0 +1,2 @@ +test + diff --git a/README.md b/README.md index 7b04fd2..84e412b 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![Language](https://img.shields.io/badge/language-C++-blue.svg)](https://isocpp.org/) [![Standard](https://img.shields.io/badge/c%2B%2B-20-blue.svg)](https://en.wikipedia.org/wiki/C%2B%2B#Standardization) [![License](https://img.shields.io/badge/license-Boost-blue.svg)](https://opensource.org/licenses/BSL-1.0) +[![Lines of Code](https://tokei.rs/b1/github/rhalbersma/bit_set?category=code)](https://github.com/rhalbersma/bit_set) `xstd::bit_set` is a modern and opinionated reimagining of `std::bitset`, keeping what time has proven to be effective, and throwing out what is not. `xstd::bit_set` is a **fixed-size ordered set of integers** that is compact and fast. It does less work than `std::bitset` (e.g. no bounds-checking and no throwing of `out_of_range` exceptions) yet offers more (e.g. bidirectional iterators over individual bits that seamlessly interact with the rest of the Standard Library). This enables **fixed-size bit-twiddling with set-like syntax** (identical to `std::set`), typically leading to cleaner, more expressive code. @@ -313,7 +314,7 @@ This single-header library has no other dependencies than the C++ Standard Libra | Linux | Clang
GCC | 10, 11-SVN
10, 11-SVN | [![codecov](https://codecov.io/gh/rhalbersma/bit_set/branch/master/graph/badge.svg)](https://codecov.io/gh/rhalbersma/bit_set)
[![Build Status](https://travis-ci.org/rhalbersma/bit_set.svg)](https://travis-ci.org/rhalbersma/bit_set) | | Windows | Visual Studio | 2019 | [![Build status](https://ci.appveyor.com/api/projects/status/hcuoesbavuw5v7y8?svg=true)](https://ci.appveyor.com/project/rhalbersma/bit-set) | -Note that this library makes liberal use of C++20 features, in particular Concepts and the `<=>` operator for comparisons. Not all compilers and Standard Libraries support these yet. Libc++ does not support either of the mentioned C++20 features, so the Clang compiler is only tested with libstdc++. Visual Studio 2019 supports these features as of version 16.7, but on AppVeyor only version 16.5 is available so far. +Note that this library makes liberal use of C++20 features, in particular Concepts, `constexpr` algorithms and the `<=>` operator for comparisons. Not all compilers and Standard Libraries support these yet. Libc++ does not yet support most of the mentioned C++20 features, so the Clang compiler is only tested with libstdc++. Visual Studio 2019 supports these features as of version 16.7, but on AppVeyor only version 16.5 is available so far. ## License