├── .github └── workflows │ ├── build.yml │ └── publish.yml ├── .gitignore ├── LICENSE ├── README.md ├── conanfile.py ├── exports ├── build.jam └── install-path.jam ├── include └── flags │ ├── allow_flags.hpp │ ├── flags.hpp │ ├── flagsfwd.hpp │ └── iterator.hpp ├── jamroot.jam └── test ├── build.jam ├── cmake ├── CMakeLists.txt └── main.cpp ├── common.hpp ├── conanfile.py ├── jamroot.jam ├── main-test.cpp ├── pkgconfig ├── jamroot.jam └── main.cpp ├── should-compile.cpp └── shouldnt-compile ├── allow-accidental.cpp ├── common.hpp ├── const-clear.cpp ├── const-enum-assign.cpp ├── const-erase-iter.cpp ├── const-erase.cpp ├── const-il-assign.cpp ├── const-insert-iter.cpp ├── const-insert.cpp ├── const-set-uv.cpp ├── const-swap.cpp ├── implicit-bool-conv.cpp ├── implicit-int-conv.cpp ├── int-conversion.cpp ├── iter-assign.cpp ├── not-allowed.cpp ├── wrong-enum.cpp ├── wrong-flags.cpp ├── wrong-iter.cpp └── wrong-variadic.cpp /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/README.md -------------------------------------------------------------------------------- /conanfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/conanfile.py -------------------------------------------------------------------------------- /exports/build.jam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/exports/build.jam -------------------------------------------------------------------------------- /exports/install-path.jam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/exports/install-path.jam -------------------------------------------------------------------------------- /include/flags/allow_flags.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/include/flags/allow_flags.hpp -------------------------------------------------------------------------------- /include/flags/flags.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/include/flags/flags.hpp -------------------------------------------------------------------------------- /include/flags/flagsfwd.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/include/flags/flagsfwd.hpp -------------------------------------------------------------------------------- /include/flags/iterator.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/include/flags/iterator.hpp -------------------------------------------------------------------------------- /jamroot.jam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/jamroot.jam -------------------------------------------------------------------------------- /test/build.jam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/build.jam -------------------------------------------------------------------------------- /test/cmake/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/cmake/CMakeLists.txt -------------------------------------------------------------------------------- /test/cmake/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/cmake/main.cpp -------------------------------------------------------------------------------- /test/common.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/common.hpp -------------------------------------------------------------------------------- /test/conanfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/conanfile.py -------------------------------------------------------------------------------- /test/jamroot.jam: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/main-test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/main-test.cpp -------------------------------------------------------------------------------- /test/pkgconfig/jamroot.jam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/pkgconfig/jamroot.jam -------------------------------------------------------------------------------- /test/pkgconfig/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/pkgconfig/main.cpp -------------------------------------------------------------------------------- /test/should-compile.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/should-compile.cpp -------------------------------------------------------------------------------- /test/shouldnt-compile/allow-accidental.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/shouldnt-compile/allow-accidental.cpp -------------------------------------------------------------------------------- /test/shouldnt-compile/common.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/shouldnt-compile/common.hpp -------------------------------------------------------------------------------- /test/shouldnt-compile/const-clear.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/shouldnt-compile/const-clear.cpp -------------------------------------------------------------------------------- /test/shouldnt-compile/const-enum-assign.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/shouldnt-compile/const-enum-assign.cpp -------------------------------------------------------------------------------- /test/shouldnt-compile/const-erase-iter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/shouldnt-compile/const-erase-iter.cpp -------------------------------------------------------------------------------- /test/shouldnt-compile/const-erase.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/shouldnt-compile/const-erase.cpp -------------------------------------------------------------------------------- /test/shouldnt-compile/const-il-assign.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/shouldnt-compile/const-il-assign.cpp -------------------------------------------------------------------------------- /test/shouldnt-compile/const-insert-iter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/shouldnt-compile/const-insert-iter.cpp -------------------------------------------------------------------------------- /test/shouldnt-compile/const-insert.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/shouldnt-compile/const-insert.cpp -------------------------------------------------------------------------------- /test/shouldnt-compile/const-set-uv.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/shouldnt-compile/const-set-uv.cpp -------------------------------------------------------------------------------- /test/shouldnt-compile/const-swap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/shouldnt-compile/const-swap.cpp -------------------------------------------------------------------------------- /test/shouldnt-compile/implicit-bool-conv.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/shouldnt-compile/implicit-bool-conv.cpp -------------------------------------------------------------------------------- /test/shouldnt-compile/implicit-int-conv.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/shouldnt-compile/implicit-int-conv.cpp -------------------------------------------------------------------------------- /test/shouldnt-compile/int-conversion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/shouldnt-compile/int-conversion.cpp -------------------------------------------------------------------------------- /test/shouldnt-compile/iter-assign.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/shouldnt-compile/iter-assign.cpp -------------------------------------------------------------------------------- /test/shouldnt-compile/not-allowed.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/shouldnt-compile/not-allowed.cpp -------------------------------------------------------------------------------- /test/shouldnt-compile/wrong-enum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/shouldnt-compile/wrong-enum.cpp -------------------------------------------------------------------------------- /test/shouldnt-compile/wrong-flags.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/shouldnt-compile/wrong-flags.cpp -------------------------------------------------------------------------------- /test/shouldnt-compile/wrong-iter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/shouldnt-compile/wrong-iter.cpp -------------------------------------------------------------------------------- /test/shouldnt-compile/wrong-variadic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grisumbras/enum-flags/HEAD/test/shouldnt-compile/wrong-variadic.cpp --------------------------------------------------------------------------------