iotjs icon indicating copy to clipboard operation
iotjs copied to clipboard

Make ReqWrap template.

Open ILyoan opened this issue 11 years ago • 3 comments

Many module implement its own request wrapper class inheriting ReqWrap. but it just add one field - specific request type of uv_req_t. So I think we can generalize it by using c++ template.

ILyoan avatar Aug 24 '15 05:08 ILyoan

I do not agree on using c++ template.

seanshpark avatar Aug 26 '15 09:08 seanshpark

@seanshpark Could you tell us why you disagree over using C++ template ?

ILyoan avatar Aug 27 '15 00:08 ILyoan

Close as we had tentatively come to an agreement on using template from offline meeting. But we can roll back any time when it's clear that using template is inappropriate for embedded environment.

ILyoan avatar Sep 08 '15 06:09 ILyoan