Add template based elems implementation
This commit is contained in:
parent
8801023626
commit
f924c990df
@ -1,12 +1,12 @@
|
||||
#include "../float.hpp"
|
||||
|
||||
#include "../debug.hpp"
|
||||
#include "../types.hpp"
|
||||
|
||||
#include <limits>
|
||||
|
||||
using namespace std;
|
||||
|
||||
#define elems(x) (sizeof(x) / sizeof(0[x]))
|
||||
|
||||
|
||||
void
|
||||
test_double (void) {
|
||||
|
Loading…
Reference in New Issue
Block a user