boostorg / thread

Boost.org thread module
http://boost.org/libs/thread
197 stars 162 forks source link

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

Open kuzkry opened 10 months ago

kuzkry commented 10 months 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.