clang-tidy - hicpp-explicit-conversions — Extra Clang Tools 21.1.8 documentation

# Extra Clang Tools 21.1.8 documentation

## clang-tidy - hicpp-explicit-conversions

# hicpp-explicit-conversions

This check is an alias for google-explicit-constructor. Used to enforce parts of rule 5.4.1. This check will enforce that constructors and conversion operators are marked explicit. Other forms of casting checks are implemented in other places. The following checks can be used to check for more forms of casting:

- cppcoreguidelines-pro-type-static-cast-downcast

- cppcoreguidelines-pro-type-reinterpret-cast

- cppcoreguidelines-pro-type-const-cast

- cppcoreguidelines-pro-type-cstyle-cast