boostorg / thread

Boost.org thread module
http://boost.org/libs/thread
202 stars 163 forks source link

Fix usage of make_error_code before its declaration. Resolves #323. #390

Open kuzkry opened 1 year ago

kuzkry commented 1 year ago

Moves the concrete definition of future_errc to the auxiliary "detail" namespace, making ADL look in there. Employs 'using' statements for the reuse of extant make_error_code and make_error_condition functions, along with ensuring backward compatibility.