A silly question/suggestion:
Wouldn't it make sense to use sized integer types in the struct, but a separate
enum to define the values? IIRC, enum's in C are simply named integer
constants. C is also very permitting in storing values into smaller integer
types. For C++, of course, the situat
Dear Emmanuel, all;
Personally, I laud this decision. It appears reasonable and based on a well
founded analysis.
Congratulations, to the whole community!
--Pekka
> On 2015–03–22, at 15:02 , Emmanuel Baccelli
> wrote:
>
> Dear all,
>
> thanks for the input from everyone on this topic. It
Oleg, all,
Just as one data point, modern compilers are able to optimise out function
pointers if they are constant. That is, if the struct containing the function
pointer is a const struct, in a typical case "static const", then e.g. LLVM is
able to optimise the function pointer call into the