From 604fb68530d66d327380a27aadc840b435744643 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johel=20Ernesto=20Guerrero=20Pe=C3=B1a?= Date: Thu, 27 Feb 2020 21:43:26 -0400 Subject: [PATCH] Deprecate bitsof --- include/jegp/bit.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/jegp/bit.hpp b/include/jegp/bit.hpp index 6a386df..38f60a3 100644 --- a/include/jegp/bit.hpp +++ b/include/jegp/bit.hpp @@ -7,7 +7,7 @@ namespace jegp { template -constexpr auto bitsof{sizeof(T) * CHAR_BIT}; +[[deprecated]] constexpr auto bitsof{sizeof(T) * CHAR_BIT}; template < class UnsignedInteger, class = std::enable_if_t<