4 ms·
It also makes function pointer types much clearer: using func_ptr = float(int); // Given float some_func(int); // Then func_ptr* a = &som
by jcelerier 5y ago
It also makes function pointer types much clearer:
using func_ptr = float(int);
// Given
float some_func(int);
// Then
func_ptr* a = &some_func;
// Also
func_ptr* b = [] (int x) { return 0.f; };