[Nfd-dev] size_t vs std::size_t
Davide Pesavento
davide.pesavento at lip6.fr
Thu Jul 24 10:12:46 PDT 2014
Hi Junxiao,
On Thu, Jul 24, 2014 at 12:56 PM, Junxiao Shi
<shijunxiao at email.arizona.edu> wrote:
> Dear folks
>
> Since both are the same type, we should use a consistent name for it,
> regardless of whether a function is a callback of Boost.Asio (which is not
> obvious).
I agree completely.
>
> Therefore, the proposal is:
>
> * in common.hpp, include cstddef
> * in common.hpp, using std::size_t
> * write size_t everywhere
+1
Thanks,
Davide
More information about the Nfd-dev
mailing list