Skip to content

Commit

Permalink
Deprecate bitsof
Browse files Browse the repository at this point in the history
  • Loading branch information
JohelEGP committed Feb 28, 2020
1 parent b5e8da8 commit 604fb68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/jegp/bit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace jegp {

template <class T>
constexpr auto bitsof{sizeof(T) * CHAR_BIT};
[[deprecated]] constexpr auto bitsof{sizeof(T) * CHAR_BIT};

template <
class UnsignedInteger, class = std::enable_if_t<
Expand Down

0 comments on commit 604fb68

Please sign in to comment.