Conform to C++ standard
htfy96 opened this issue · comments
Hi,
this is an awesome repository which contains a lot of useful algorithms for C++, but the code style, I think, could be improved:
- Use
<cstddef>
instead of<stddef.h>
- each identifier with two underscores at the beginning(
__foobar
) or one underscore followed by character in uppercase(_Foobar
) is reserved by language - the
void
keyword could be omitted inint main(void)
, so isstruct
instruct Foo obj
can you provide Pull Requests?