boostorg / foreach

Boost.org foreach module
http://boost.org/libs/foreach
9 stars 36 forks source link

Replace 0 by nullptr #7

Closed MartinDelille closed 6 years ago

MartinDelille commented 6 years ago

Since I use clazy I have such warnings:

warning: zero as null pointer constant
    foreach.hpp: 1100:77: note expanded from macro BOOST_FOREACH
    foreach.hpp: 1014:9: note expanded from macro BOOST_FOREACH_CONTAIN
    foreach.hpp: 942:13: note expanded from macro BOOST_FOREACH_SHOULD_COPY

This PR aims to fix this.

MartinDelille commented 6 years ago

Any idea why nullptr is not defined on linux?

MartinDelille commented 6 years ago

up

ericniebler commented 6 years ago

Thanks.

MartinDelille commented 5 years ago

@ericniebler I'd like to follow when this PR will be effective in the boost release version. Where could I track that?

MartinDelille commented 5 years ago

Any new about merging my contribution in the next release?

The current boost version display annoying warnings.