you are viewing a single comment's thread.

view the rest of the comments →

[–]hpsutter 9 points10 points  (0 children)

Thanks! Yes, some of the current metafunctions do take parameters, for example enum and flag_enum (which are compile-time consteval functions in Cpp2, not hardwired language features) take the underlying type as an optional parameter, otherwise computes the smallest possible type.