[Nfd-dev] NFD CodeStyle rule 26

Alex Afanasyev afanasev at cs.ucla.edu
Tue Feb 25 17:45:35 PST 2014


will this imply changing all the code and protocols?

If so, I would rather prefer allowing insert/erase pair (as preferred).

---
Alex

On Feb 25, 2014, at 5:36 PM, Junxiao Shi <shijunxiao at email.arizona.edu> wrote:

> Hi Alex
> 
> Rule 26 states: Complement names must be used for complement operations
> An example given is "insert/delete".
> However, "delete" is a reserved word in C++, which cannot be used as an identifier.
> 
> I suggest changing this to "insert/erase" to match STL style.
> 
> 
> Yours, Junxiao





More information about the Nfd-dev mailing list