mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-16 00:46:03 +08:00
Added etl::histogram and etl::sparce_histogram
This commit is contained in:
parent
f9ad773dc4
commit
a7b5ed79af
@ -20,6 +20,7 @@ namespace etl
|
||||
public:
|
||||
|
||||
ETL_STATIC_ASSERT(etl::is_integral<TKey>::value, "Only integral keys allowed");
|
||||
ETL_STATIC_ASSERT(etl::is_integral<TCount>::value, "Only integral count allowed");
|
||||
|
||||
static ETL_CONSTANT size_t Max_Size = Max_Keys;
|
||||
|
||||
@ -210,6 +211,7 @@ namespace etl
|
||||
public:
|
||||
|
||||
ETL_STATIC_ASSERT(etl::is_integral<TKey>::value, "Only integral keys allowed");
|
||||
ETL_STATIC_ASSERT(etl::is_integral<TCount>::value, "Only integral count allowed");
|
||||
|
||||
static ETL_CONSTANT size_t Max_Size = Max_Keys;
|
||||
|
||||
@ -405,6 +407,8 @@ namespace etl
|
||||
|
||||
public:
|
||||
|
||||
ETL_STATIC_ASSERT(etl::is_integral<TCount>::value, "Only integral count allowed");
|
||||
|
||||
static ETL_CONSTANT size_t Max_Size = Max_Keys;
|
||||
|
||||
typedef TKey key_type;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user