My compiler considers this as a function declaration:
thread_pool::stop_token stopper( true_type() );
I’d understand that without the “()” the compiler considers this a declaration, but not with the “()”.
My compiler considers this as a function declaration:
thread_pool::stop_token stopper( true_type() );
I’d understand that without the “()” the compiler considers this a declaration, but not with the “()”.