Skip to content

Commit

Permalink
Add countrZeroForType.
Browse files Browse the repository at this point in the history
  • Loading branch information
HaxyM authored Sep 7, 2024
1 parent e5f1cc5 commit aec8011
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/crap/bit
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "bit.d/countronefortype.h"
#include "bit.d/countronetype.h"
#include "bit.d/countronevalue.h"
#include "bit.d/countrzerofortype.h"
#include "bit.d/countrzerotype.h"
#include "bit.d/countrzerovalue.h"
#include "bit.d/hassinglebittype.h"
Expand Down
14 changes: 14 additions & 0 deletions include/crap/bit.d/countrzerofortype.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#ifndef CRAP_BIT_COUNTRZEROFORTYPE
#define CRAP_BIT_COUNTRZEROFORTYPE

#include "countrzerovalue.h"

namespace crap
{
template <class Type> struct countrZeroForType
{
template <Type Value> using type = countrZeroValue<Type, Value>;
};
}
#endif

0 comments on commit aec8011

Please sign in to comment.