[Nfd-dev] size_t vs std::size_t

Alex Afanasyev alexander.afanasyev at ucla.edu
Thu Jul 24 15:26:52 PDT 2014


If you insist on that, I would not object.  I just don't see much value of having such a "consistency" if it doesn't matter in the first place.

---
Alex

On Jul 24, 2014, at 10:12 AM, Davide Pesavento <davide.pesavento at lip6.fr> wrote:

> 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