Well-versed in the technical side of things thanks to extensive Software Engineering experience. Enthusiastic about Statistical Inference, Machine Learning and Visualizations. He/him.
A sick (in a good sense! 😃) library and a nice post!
Though I have one clarifying question.
A value constructor is an inline static function
If it's static and defined in a .c file it won't be visible outside this file. But putting the whole (generated) function in a .h file is less than ideal. What way out of this would you suggest?
I would suggest to use precompiled headers to make all these functions compiled only once. This would also increase compilation times of datatype(...).
Well-versed in the technical side of things thanks to extensive Software Engineering experience. Enthusiastic about Statistical Inference, Machine Learning and Visualizations. He/him.
A sick (in a good sense! 😃) library and a nice post!
Though I have one clarifying question.
If it's
static
and defined in a.c
file it won't be visible outside this file. But putting the whole (generated) function in a.h
file is less than ideal. What way out of this would you suggest?I would suggest to use precompiled headers to make all these functions compiled only once. This would also increase compilation times of
datatype(...)
.You probably mean decrease compilation times? 😄
Ah yeah, that's a typo :)