pybind/pybind11

There can be only one (enum instance)

Open

#1,177 opened on 2017年11月9日

GitHub で見る
 (6 comments) (4 reactions) (0 assignees)C++ (2,005 forks)batch import
bugenhancementhelp wanted

Repository metrics

Stars
 (14,677 stars)
PR merge metrics
 (平均マージ 5d 2h) (30d で 10 merged PRs)

説明

Currently enums compare equal with == but not with is. I think it would be good if enums would be singletons like None instead.

コントリビューターガイド