Actions
Task #1591
closedReplace usage boost::cref (boost::ref) to with cref (ref) and remove unnecessary usage of cref
Start date:
05/12/2014
Due date:
% Done:
100%
Estimated time:
Description
Since ndn-cxx library and NFD can (technically) be compiled in C++11 mode, usage of boost::cref would create unnecessary problems for such compilation.
This task is to import ndn::cref
and ndn::ref
into nfd namespace and replace all usage of boost::cref and boost::ref with just cref
and ref
.
In addition to that, make_shared<>...
construction does not require use of cref, which incurs only additional unnecessary overhead. For the places we are using cref in make_shared, we should stop doing that. ndn::ref (or ref) is still necessary when we need to pass a reference, but I don't think we ever use it anywhere.
Actions