0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

ircd::simd: Add template defaulting inference for ergonomic usage of print().

This commit is contained in:
Jason Volk 2022-04-30 13:35:47 -07:00
parent f47b007645
commit 628141c78d

View file

@ -49,7 +49,7 @@ namespace ircd::simd
/// One of the other functions in this suite must be selected by this
/// template to generate the desired string.
template<class T,
class F>
class F = decltype(print_mem<T>)>
bool
print(const T,
F&& printer = print_mem<T>,